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.001166/0.001166, allocations: 104.2 kB / 16.27 MB, free: 5.977 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.001167/0.001167, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.274/1.274, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7119/0.7119, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 63.91 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2993, allocations: 77.93 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1643/0.4636, allocations: 161.3 MB / 0.7248 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.4654, allocations: 0.9755 MB / 0.7258 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.4656, allocations: 7.938 kB / 0.7258 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004942/0.4661, allocations: 155 kB / 0.7259 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.4673, allocations: 0.6352 MB / 0.7265 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004988/0.4679, allocations: 213.1 kB / 0.7267 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004893/0.4684, allocations: 0.5265 MB / 0.7272 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.4686, allocations: 180.2 kB / 0.7274 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000347/0.469, allocations: 227.1 kB / 0.7276 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.4692, allocations: 163.3 kB / 0.7278 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.4692, allocations: 12 kB / 0.7278 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007378/0.47, allocations: 0.5377 MB / 0.7283 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.186e-05/0.4701, allocations: 83.77 kB / 0.7284 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.4702, allocations: 115.4 kB / 0.7285 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005749/0.4708, allocations: 486.6 kB / 0.729 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.4708, allocations: 4 kB / 0.729 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4708, allocations: 4 kB / 0.729 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.4708, allocations: 0 / 0.729 GB, free: 4.691 MB / 0.5606 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.001254/0.4721, allocations: 0.5922 MB / 0.7296 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.4721, allocations: 8.031 kB / 0.7296 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.507e-05/0.4722, allocations: 58.48 kB / 0.7296 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.4724, allocations: 43.69 kB / 0.7297 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.4727, allocations: 282.3 kB / 0.7299 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.4727, allocations: 16.33 kB / 0.73 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.4728, allocations: 16 kB / 0.73 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.4732, allocations: 243.1 kB / 0.7302 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4732, allocations: 0 / 0.7302 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.4733, allocations: 7.984 kB / 0.7302 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.4733, allocations: 11.98 kB / 0.7302 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000582/0.4739, allocations: 243.8 kB / 0.7305 GB, free: 3.086 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.001147/0.475, allocations: 0.8438 MB / 0.7313 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.4753, allocations: 137.4 kB / 0.7314 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.4756, allocations: 116.8 kB / 0.7315 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/0.4758, allocations: 194.2 kB / 0.7317 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.4759, allocations: 38.5 kB / 0.7317 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.4759, allocations: 0 / 0.7317 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0007828/0.4767, allocations: 297.2 kB / 0.732 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.4767, allocations: 59.41 kB / 0.7321 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.4769, allocations: 237 kB / 0.7323 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.477, allocations: 37.64 kB / 0.7323 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.477, allocations: 132.2 kB / 0.7325 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.4771, allocations: 51.3 kB / 0.7325 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/0.4771, allocations: 33.7 kB / 0.7326 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.4773, allocations: 326.8 kB / 0.7329 GB, free: 448 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.4774, allocations: 79.88 kB / 0.7329 GB, free: 368 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.4776, allocations: 102.5 kB / 0.733 GB, free: 256 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.478, allocations: 162.5 kB / 0.7332 GB, free: 84 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.478, allocations: 0 / 0.7332 GB, free: 84 kB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004344/0.4784, allocations: 228.8 kB / 0.7334 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.4785, allocations: 7.938 kB / 0.7334 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4785, allocations: 0 / 0.7334 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.4785, allocations: 7.938 kB / 0.7334 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.4787, allocations: 27.98 kB / 0.7335 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4787, allocations: 7.984 kB / 0.7335 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.4788, allocations: 19.91 kB / 0.7335 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.4789, allocations: 11.98 kB / 0.7335 GB, free: 15.77 MB / 0.5762 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.0001178/0.479, allocations: 141.8 kB / 0.7336 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.4791, allocations: 23.66 kB / 0.7337 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.623e-05/0.4791, allocations: 33.83 kB / 0.7337 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.4791, allocations: 4 kB / 0.7337 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.4791, allocations: 0 / 0.7337 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4791, allocations: 0 / 0.7337 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009587/0.4801, allocations: 0.6718 MB / 0.7343 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4801, allocations: 4.219 kB / 0.7343 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.4803, allocations: 35.91 kB / 0.7344 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4803, allocations: 4 kB / 0.7344 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.4803, allocations: 8 kB / 0.7344 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.4803, allocations: 4 kB / 0.7344 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4803, allocations: 0 / 0.7344 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/0.4808, allocations: 357 kB / 0.7347 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-05/0.4809, allocations: 116.8 kB / 0.7348 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.4809, allocations: 4 kB / 0.7349 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.4811, allocations: 15.98 kB / 0.7349 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.4812, allocations: 15.92 kB / 0.7349 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.4812, allocations: 4 kB / 0.7349 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001379/0.4813, allocations: 176.5 kB / 0.7351 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.4813, allocations: 0 / 0.7351 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003315/0.4817, allocations: 55.98 kB / 0.7351 GB, free: 13.98 MB / 0.5762 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.0008999/0.4826, allocations: 0.9641 MB / 0.7361 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004344/0.483, allocations: 175.8 kB / 0.7362 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.483, allocations: 3.938 kB / 0.7362 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.4832, allocations: 96.42 kB / 0.7363 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007095/0.484, allocations: 119.5 kB / 0.7364 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.4867, allocations: 2.457 MB / 0.7388 GB, free: 10 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.487, allocations: 0.748 MB / 0.7396 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000208/0.4872, allocations: 65.89 kB / 0.7396 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.4873, allocations: 65.06 kB / 0.7397 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of SimCode: time 1.763e-06/0.4873, allocations: 4 kB / 0.7397 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08927/0.5766, allocations: 6.861 MB / 0.7464 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.364/7.94, allocations: 8.297 kB / 0.7464 GB, free: 2.43 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)