Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.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.Examples.PlugFlowPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe",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.0009753/0.0009753, allocations: 101.1 kB / 16.27 MB, free: 5.93 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.0009529/0.0009531, allocations: 187.2 kB / 17.2 MB, free: 5.574 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.204/1.204, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6659/0.6659, allocations: 122.8 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001152, allocations: 59.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2805, allocations: 77.93 MB / 0.5673 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.08676/0.3673, allocations: 115.1 MB / 0.6797 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02976/0.3971, allocations: 26.56 MB / 0.7057 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002603/0.3997, allocations: 115.4 kB / 0.7058 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002334/0.402, allocations: 1.149 MB / 0.7069 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006523/0.4086, allocations: 3.42 MB / 0.7102 GB, free: 8.023 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004562/0.4132, allocations: 2.337 MB / 0.7125 GB, free: 5.695 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005483/0.4187, allocations: 6.186 MB / 0.7186 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002368/0.421, allocations: 1.925 MB / 0.7204 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00453/0.4256, allocations: 2.64 MB / 0.723 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00225/0.4279, allocations: 1.774 MB / 0.7247 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004352/0.4283, allocations: 220 kB / 0.725 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003831/0.4321, allocations: 2.34 MB / 0.7272 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004115/0.4326, allocations: 0.5371 MB / 0.7278 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.4338, allocations: 1.287 MB / 0.729 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00391/0.4377, allocations: 4.055 MB / 0.733 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4377, allocations: 0 / 0.733 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4377, allocations: 4 kB / 0.733 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.4377, allocations: 4 kB / 0.733 GB, free: 0.6445 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.004298/0.442, allocations: 2.83 MB / 0.7358 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.4421, allocations: 12.62 kB / 0.7358 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/0.4423, allocations: 198.6 kB / 0.736 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005056/0.4428, allocations: 257.1 kB / 0.7362 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003181/0.446, allocations: 2.065 MB / 0.7382 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.23e-05/0.446, allocations: 102.7 kB / 0.7383 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.4462, allocations: 139.9 kB / 0.7384 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.4482, allocations: 1.454 MB / 0.7399 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/0.4482, allocations: 7.938 kB / 0.7399 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.4483, allocations: 56 kB / 0.7399 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/0.4484, allocations: 39.94 kB / 0.74 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.45, allocations: 1.029 MB / 0.741 GB, free: 8.262 MB / 0.5762 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.2004/0.6504, allocations: 8.171 MB / 0.749 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.6521, allocations: 0.8408 MB / 0.7498 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006035/0.6527, allocations: 376.7 kB / 0.7501 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001358/0.6541, allocations: 2.809 MB / 0.7529 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.6541, allocations: 41.31 kB / 0.7529 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 3.096e-06/0.6541, allocations: 0 / 0.7529 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.002339/0.6564, allocations: 1.128 MB / 0.754 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.6565, allocations: 68.97 kB / 0.7541 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.6588, allocations: 1.621 MB / 0.7557 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.566e-05/0.6588, allocations: 43.44 kB / 0.7557 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005986/0.6594, allocations: 0.9304 MB / 0.7566 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.6597, allocations: 306.5 kB / 0.7569 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003357/0.66, allocations: 229.7 kB / 0.7571 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.6601, allocations: 351.1 kB / 0.7575 GB, free: 159 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006279/0.6607, allocations: 330.8 kB / 0.7578 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007466/0.6615, allocations: 0.7053 MB / 0.7585 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.6628, allocations: 1.085 MB / 0.7595 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.6628, allocations: 3.625 kB / 0.7595 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002106/0.6649, allocations: 1.249 MB / 0.7607 GB, free: 157 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.6649, allocations: 9.75 kB / 0.7608 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/0.665, allocations: 17.23 kB / 0.7608 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.969e-05/0.665, allocations: 21.95 kB / 0.7608 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000737/0.6657, allocations: 258.9 kB / 0.761 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.43e-05/0.6658, allocations: 24.47 kB / 0.7611 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000957/0.6667, allocations: 138.6 kB / 0.7612 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.6669, allocations: 68.36 kB / 0.7613 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008955/0.6678, allocations: 0.6205 MB / 0.7619 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006914/0.6685, allocations: 0.7038 MB / 0.7626 GB, free: 156 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001282/0.6697, allocations: 1.083 MB / 0.7636 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.125e-06/0.6698, allocations: 3.469 kB / 0.7636 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001967/0.6717, allocations: 1.242 MB / 0.7648 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.6718, allocations: 11.84 kB / 0.7648 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.371e-05/0.6718, allocations: 16.48 kB / 0.7649 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.6718, allocations: 21.81 kB / 0.7649 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007017/0.6725, allocations: 264.7 kB / 0.7651 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/0.6725, allocations: 24.28 kB / 0.7652 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008609/0.6734, allocations: 99.5 kB / 0.7652 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/0.6735, allocations: 67.06 kB / 0.7653 GB, free: 154.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000199/0.6737, allocations: 261.5 kB / 0.7656 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/0.674, allocations: 189.3 kB / 0.7657 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/0.6766, allocations: 1.745 MB / 0.7674 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.662e-05/0.6767, allocations: 21.64 kB / 0.7675 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6767, allocations: 0 / 0.7675 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00148/0.6781, allocations: 1.141 MB / 0.7686 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003959/0.6821, allocations: 3.482 MB / 0.772 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/0.6822, allocations: 14.11 kB / 0.772 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006216/0.6828, allocations: 204.2 kB / 0.7722 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/0.6828, allocations: 9.844 kB / 0.7722 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/0.6829, allocations: 43.12 kB / 0.7722 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/0.6829, allocations: 18.84 kB / 0.7723 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.6829, allocations: 11.38 kB / 0.7723 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/0.6854, allocations: 2.22 MB / 0.7744 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/0.6859, allocations: 442 kB / 0.7749 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.6861, allocations: 38.81 kB / 0.7749 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007462/0.6868, allocations: 47.31 kB / 0.7749 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.687, allocations: 119.8 kB / 0.7751 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.685e-05/0.6871, allocations: 61.86 kB / 0.7751 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001187/0.6883, allocations: 1.088 MB / 0.7762 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6883, allocations: 0 / 0.7762 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002341/0.6906, allocations: 1.132 MB / 0.7773 GB, free: 149.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.003302/0.694, allocations: 3.477 MB / 0.7807 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002709/0.6967, allocations: 1.9 MB / 0.7825 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.6967, allocations: 1.656 kB / 0.7825 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008666/0.6976, allocations: 0.818 MB / 0.7833 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/0.7009, allocations: 0.9653 MB / 0.7843 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.7125, allocations: 13.84 MB / 0.7978 GB, free: 131.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.7131, allocations: 1.432 MB / 0.7992 GB, free: 129.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001392/0.7145, allocations: 0.5387 MB / 0.7997 GB, free: 129.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006885/0.7152, allocations: 0.8546 MB / 0.8006 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.7152, allocations: 0 / 0.8006 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.238/4.954, allocations: 58.39 MB / 0.8576 GB, free: 70.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/16.88, allocations: 15.62 kB / 0.8576 GB, free: 70.61 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)