Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004659/0.004659, allocations: 100.9 kB / 15.87 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 200.5 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 222.9 MB / 240.5 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.662/0.662, allocations: 115.3 MB / 405.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.91 kB / 493 MB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.291, allocations: 76.16 MB / 0.5558 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1431/0.4342, allocations: 159.1 MB / 0.7112 GB, free: 5.105 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.4359, allocations: 0.9651 MB / 0.7121 GB, free: 4.141 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/0.4362, allocations: 7.938 kB / 0.7121 GB, free: 4.133 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004395/0.4366, allocations: 135.2 kB / 0.7122 GB, free: 4 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.438, allocations: 0.6032 MB / 0.7128 GB, free: 3.395 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.4385, allocations: 201.1 kB / 0.713 GB, free: 3.203 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007306/0.4392, allocations: 0.7371 MB / 0.7137 GB, free: 2.465 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.4395, allocations: 160.1 kB / 0.7139 GB, free: 2.305 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003949/0.4399, allocations: 215.1 kB / 0.7141 GB, free: 2.094 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.4401, allocations: 167.3 kB / 0.7143 GB, free: 1.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.4402, allocations: 12 kB / 0.7143 GB, free: 1.918 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008822/0.4411, allocations: 0.6351 MB / 0.7149 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.953e-05/0.4412, allocations: 83.66 kB / 0.715 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.4413, allocations: 111.5 kB / 0.7151 GB, free: 1.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006863/0.442, allocations: 0.5102 MB / 0.7156 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.442, allocations: 0 / 0.7156 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.22e-07/0.442, allocations: 0 / 0.7156 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.442, allocations: 0 / 0.7156 GB, free: 0.5781 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001339/0.4434, allocations: 0.5961 MB / 0.7162 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.4434, allocations: 15.97 kB / 0.7162 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.313e-05/0.4435, allocations: 46.55 kB / 0.7162 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.4437, allocations: 55.62 kB / 0.7163 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.444, allocations: 278.8 kB / 0.7165 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.444, allocations: 16.33 kB / 0.7165 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.4441, allocations: 19.98 kB / 0.7166 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/0.4445, allocations: 239.1 kB / 0.7168 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4446, allocations: 3.984 kB / 0.7168 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.4446, allocations: 8 kB / 0.7168 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.4446, allocations: 8 kB / 0.7168 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005565/0.4452, allocations: 259.6 kB / 0.7171 GB, free: 14.95 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.4463, allocations: 0.8314 MB / 0.7179 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.4466, allocations: 146.5 kB / 0.718 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.4468, allocations: 108.8 kB / 0.7181 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002354/0.447, allocations: 194.2 kB / 0.7183 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.4471, allocations: 34.5 kB / 0.7183 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.4471, allocations: 0 / 0.7183 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0007464/0.4478, allocations: 301.2 kB / 0.7186 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.4479, allocations: 55.41 kB / 0.7187 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.4481, allocations: 241 kB / 0.7189 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.4481, allocations: 29.7 kB / 0.7189 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/0.4482, allocations: 140.2 kB / 0.7191 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.4482, allocations: 47.3 kB / 0.7191 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.4483, allocations: 33.7 kB / 0.7191 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.318e-05/0.4484, allocations: 334.8 kB / 0.7195 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.4486, allocations: 67.95 kB / 0.7195 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.4487, allocations: 106.5 kB / 0.7196 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.4491, allocations: 168.9 kB / 0.7198 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4491, allocations: 4 kB / 0.7198 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004148/0.4495, allocations: 209.3 kB / 0.72 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.4495, allocations: 10.12 kB / 0.72 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.4495, allocations: 0 / 0.72 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.4496, allocations: 4 kB / 0.72 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.4497, allocations: 35.91 kB / 0.72 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4498, allocations: 0 / 0.72 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.4499, allocations: 31.8 kB / 0.7201 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.45, allocations: 8 kB / 0.7201 GB, free: 11.65 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.4501, allocations: 141.8 kB / 0.7202 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.4501, allocations: 23.75 kB / 0.7202 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.085e-05/0.4502, allocations: 37.86 kB / 0.7203 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.4502, allocations: 0 / 0.7203 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4502, allocations: 0 / 0.7203 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4502, allocations: 4 kB / 0.7203 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009211/0.4512, allocations: 0.6834 MB / 0.7209 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4512, allocations: 0 / 0.7209 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.4513, allocations: 39.91 kB / 0.721 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4513, allocations: 4 kB / 0.721 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.4514, allocations: 0 / 0.721 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.4514, allocations: 4 kB / 0.721 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.4514, allocations: 4 kB / 0.721 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004492/0.4518, allocations: 357.2 kB / 0.7213 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.929e-05/0.4519, allocations: 112.9 kB / 0.7214 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.452, allocations: 4 kB / 0.7214 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.4521, allocations: 19.92 kB / 0.7215 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.4522, allocations: 15.86 kB / 0.7215 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.4522, allocations: 12 kB / 0.7215 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001417/0.4524, allocations: 180.5 kB / 0.7217 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4524, allocations: 0 / 0.7217 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003153/0.4527, allocations: 63.84 kB / 0.7217 GB, free: 9.824 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008506/0.4535, allocations: 0.9245 MB / 0.7226 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003987/0.454, allocations: 171.8 kB / 0.7228 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.454, allocations: 4.125 kB / 0.7228 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.4542, allocations: 99.78 kB / 0.7229 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006711/0.4548, allocations: 121.2 kB / 0.723 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.4576, allocations: 2.52 MB / 0.7255 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.4578, allocations: 0.7521 MB / 0.7262 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002144/0.4581, allocations: 61.91 kB / 0.7263 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.4582, allocations: 63.41 kB / 0.7263 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.4582, allocations: 3.938 kB / 0.7263 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.4742, allocations: 6.532 MB / 0.7327 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.4744, allocations: 243.3 kB / 0.7329 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.198, allocations: 0 / 0.7329 GB, free: 14.34 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)