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.0007199/0.0007199, allocations: 92.95 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007993/0.0007993, allocations: 184.6 kB / 16.92 MB, free: 6.934 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.301/1.301, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6518/0.6518, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004722, allocations: 8 kB / 496 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1454, allocations: 77.53 MB / 0.56 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4166/0.562, allocations: 157 MB / 0.7134 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.5639, allocations: 0.9593 MB / 0.7143 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003327/0.5643, allocations: 11.94 kB / 0.7143 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005585/0.5649, allocations: 127.2 kB / 0.7144 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.5665, allocations: 0.5993 MB / 0.715 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.5671, allocations: 193.6 kB / 0.7152 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008956/0.5681, allocations: 0.7371 MB / 0.7159 GB, free: 7 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004069/0.5685, allocations: 160.1 kB / 0.7161 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005165/0.569, allocations: 219.1 kB / 0.7163 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.5693, allocations: 159.3 kB / 0.7164 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.5693, allocations: 12 kB / 0.7164 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.5704, allocations: 0.6389 MB / 0.7171 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.5705, allocations: 75.8 kB / 0.7171 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.5707, allocations: 137.1 kB / 0.7173 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008246/0.5715, allocations: 0.5023 MB / 0.7178 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5716, allocations: 0 / 0.7178 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5716, allocations: 0 / 0.7178 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.5716, allocations: 4 kB / 0.7178 GB, free: 5.098 MB / 0.5294 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.00145/0.573, allocations: 0.5541 MB / 0.7183 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.5731, allocations: 12.03 kB / 0.7183 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.276e-05/0.5732, allocations: 46.55 kB / 0.7184 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/0.5734, allocations: 51.67 kB / 0.7184 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.5738, allocations: 274.3 kB / 0.7187 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.5738, allocations: 12.33 kB / 0.7187 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.5739, allocations: 25.5 kB / 0.7187 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000507/0.5744, allocations: 243.1 kB / 0.7189 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.5744, allocations: 0 / 0.7189 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.5745, allocations: 11.94 kB / 0.719 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.5745, allocations: 8 kB / 0.719 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006181/0.5751, allocations: 263.6 kB / 0.7192 GB, free: 3.516 MB / 0.5294 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.00128/0.5764, allocations: 0.8508 MB / 0.72 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.5767, allocations: 146.5 kB / 0.7202 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.577, allocations: 128.8 kB / 0.7203 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002591/0.5772, allocations: 178.2 kB / 0.7205 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.5773, allocations: 46.55 kB / 0.7205 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 3.908e-06/0.5773, allocations: 3.984 kB / 0.7205 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0008647/0.5782, allocations: 317.3 kB / 0.7208 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.5782, allocations: 51.41 kB / 0.7209 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.5784, allocations: 241 kB / 0.7211 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.5785, allocations: 29.7 kB / 0.7211 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.769e-05/0.5786, allocations: 132.2 kB / 0.7213 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.5786, allocations: 51.28 kB / 0.7213 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.5787, allocations: 21.7 kB / 0.7213 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.5788, allocations: 338.8 kB / 0.7217 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.579, allocations: 71.95 kB / 0.7217 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.5792, allocations: 106.5 kB / 0.7218 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.5796, allocations: 181.5 kB / 0.722 GB, free: 472 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5796, allocations: 0 / 0.722 GB, free: 472 kB / 0.5294 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004732/0.5801, allocations: 229.2 kB / 0.7222 GB, free: 236 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.5801, allocations: 11.94 kB / 0.7222 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5801, allocations: 3.938 kB / 0.7222 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5801, allocations: 0 / 0.7222 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.5803, allocations: 32.05 kB / 0.7223 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.5804, allocations: 11.97 kB / 0.7223 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.5805, allocations: 28.64 kB / 0.7223 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.5806, allocations: 4 kB / 0.7223 GB, free: 144 kB / 0.5294 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.0001371/0.5807, allocations: 141.8 kB / 0.7224 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.5808, allocations: 27.59 kB / 0.7225 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.481e-05/0.5809, allocations: 37.78 kB / 0.7225 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.5809, allocations: 0 / 0.7225 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5809, allocations: 4 kB / 0.7225 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5809, allocations: 0 / 0.7225 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.5819, allocations: 0.6847 MB / 0.7232 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5819, allocations: 0 / 0.7232 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.5821, allocations: 40.12 kB / 0.7232 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.5821, allocations: 4 kB / 0.7232 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.5821, allocations: 8 kB / 0.7232 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.5821, allocations: 4 kB / 0.7232 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5821, allocations: 0 / 0.7232 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.5827, allocations: 365 kB / 0.7236 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.5828, allocations: 120.8 kB / 0.7237 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.5828, allocations: 7.938 kB / 0.7237 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.583, allocations: 23.92 kB / 0.7237 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.5831, allocations: 11.92 kB / 0.7237 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.5831, allocations: 4 kB / 0.7237 GB, free: 14.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001513/0.5832, allocations: 180.5 kB / 0.7239 GB, free: 14.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5832, allocations: 0 / 0.7239 GB, free: 14.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003399/0.5836, allocations: 60 kB / 0.724 GB, free: 14.3 MB / 0.545 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.001018/0.5846, allocations: 0.9498 MB / 0.7249 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004589/0.5851, allocations: 183.8 kB / 0.7251 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5851, allocations: 0 / 0.7251 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.5853, allocations: 108.4 kB / 0.7252 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008286/0.5861, allocations: 115 kB / 0.7253 GB, free: 12.92 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.5893, allocations: 2.546 MB / 0.7278 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.5897, allocations: 0.7521 MB / 0.7285 GB, free: 9.473 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002359/0.5899, allocations: 61.91 kB / 0.7286 GB, free: 9.414 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.5901, allocations: 67.41 kB / 0.7286 GB, free: 9.348 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.5901, allocations: 0 / 0.7286 GB, free: 9.348 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2904/0.8805, allocations: 6.414 MB / 0.7349 GB, free: 3.133 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/0.8808, allocations: 250.3 kB / 0.7351 GB, free: 2.879 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/3.007, allocations: 0 / 0.7351 GB, free: 2.879 MB / 0.545 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)