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.001115/0.001115, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.001094/0.001094, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6841/0.6841, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 66.73 kB / 0.5572 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1275, allocations: 76.18 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.103/0.2305, allocations: 115.2 MB / 0.744 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3332/0.5637, allocations: 26.54 MB / 0.77 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004278/0.568, allocations: 114.9 kB / 0.7701 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002835/0.571, allocations: 1.151 MB / 0.7712 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009367/0.5803, allocations: 3.418 MB / 0.7745 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008006/0.5884, allocations: 2.349 MB / 0.7768 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01173/0.6001, allocations: 6.2 MB / 0.7829 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004567/0.6047, allocations: 1.921 MB / 0.7847 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006697/0.6114, allocations: 2.694 MB / 0.7874 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003314/0.6148, allocations: 1.77 MB / 0.7891 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005043/0.6153, allocations: 221 kB / 0.7893 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005191/0.6205, allocations: 2.343 MB / 0.7916 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004963/0.621, allocations: 0.5373 MB / 0.7921 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001747/0.6228, allocations: 1.282 MB / 0.7934 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006584/0.6293, allocations: 4.11 MB / 0.7974 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6294, allocations: 0 / 0.7974 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6294, allocations: 0 / 0.7974 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.768e-05/0.6294, allocations: 0 / 0.7974 GB, free: 6.266 MB / 0.5762 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.004826/0.6343, allocations: 2.832 MB / 0.8002 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.6343, allocations: 14.47 kB / 0.8002 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002011/0.6345, allocations: 202.7 kB / 0.8004 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006908/0.6352, allocations: 261.3 kB / 0.8006 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003489/0.6387, allocations: 2.135 MB / 0.8027 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.674e-05/0.6388, allocations: 105 kB / 0.8028 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.639, allocations: 135.1 kB / 0.8029 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.6411, allocations: 1.451 MB / 0.8043 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.6411, allocations: 14.28 kB / 0.8044 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.6413, allocations: 62.22 kB / 0.8044 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.951e-05/0.6413, allocations: 34.81 kB / 0.8045 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.6429, allocations: 1.021 MB / 0.8055 GB, free: 0.8945 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.00862/0.6516, allocations: 8.123 MB / 0.8134 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.653, allocations: 0.8355 MB / 0.8142 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005909/0.6537, allocations: 377.3 kB / 0.8146 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002046/0.6557, allocations: 2.806 MB / 0.8173 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.6558, allocations: 37.66 kB / 0.8173 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.746e-06/0.6558, allocations: 6.938 kB / 0.8173 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.002315/0.6581, allocations: 1.126 MB / 0.8184 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.6582, allocations: 60.53 kB / 0.8185 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.6605, allocations: 1.625 MB / 0.8201 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.238e-05/0.6606, allocations: 43.67 kB / 0.8201 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007182/0.6613, allocations: 0.9232 MB / 0.821 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/0.6616, allocations: 315.1 kB / 0.8213 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000336/0.662, allocations: 225.9 kB / 0.8215 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6621, allocations: 349.1 kB / 0.8219 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/0.6627, allocations: 328.4 kB / 0.8222 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008267/0.6635, allocations: 0.7107 MB / 0.8229 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.665, allocations: 1.089 MB / 0.824 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.665, allocations: 6.109 kB / 0.824 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002594/0.6676, allocations: 1.245 MB / 0.8252 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.6677, allocations: 13.41 kB / 0.8252 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-05/0.6677, allocations: 19.98 kB / 0.8252 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.721e-05/0.6678, allocations: 16 kB / 0.8252 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008632/0.6686, allocations: 264.2 kB / 0.8255 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.754e-05/0.6687, allocations: 24.56 kB / 0.8255 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.6701, allocations: 142.5 kB / 0.8256 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/0.6702, allocations: 63.98 kB / 0.8257 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001193/0.6714, allocations: 0.6197 MB / 0.8263 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009377/0.6724, allocations: 0.7072 MB / 0.827 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001566/0.674, allocations: 1.089 MB / 0.8281 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.049e-05/0.674, allocations: 6.266 kB / 0.8281 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002564/0.6765, allocations: 1.238 MB / 0.8293 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.6766, allocations: 8 kB / 0.8293 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.074e-05/0.6766, allocations: 16 kB / 0.8293 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.6766, allocations: 20 kB / 0.8293 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008031/0.6775, allocations: 263.5 kB / 0.8296 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.717e-05/0.6775, allocations: 27.92 kB / 0.8296 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.6789, allocations: 87.27 kB / 0.8297 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.679, allocations: 75.91 kB / 0.8297 GB, free: 10.96 MB / 0.6075 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.0003219/0.6794, allocations: 259.4 kB / 0.83 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004968/0.6799, allocations: 189.7 kB / 0.8302 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003237/0.6831, allocations: 1.736 MB / 0.8319 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.601e-05/0.6832, allocations: 23.97 kB / 0.8319 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.6832, allocations: 0 / 0.8319 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001632/0.6848, allocations: 1.142 MB / 0.833 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005681/0.6905, allocations: 3.486 MB / 0.8364 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.523e-05/0.6906, allocations: 12 kB / 0.8364 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007427/0.6913, allocations: 200.4 kB / 0.8366 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.015e-05/0.6914, allocations: 16 kB / 0.8366 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.577e-05/0.6915, allocations: 39.98 kB / 0.8367 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-05/0.6915, allocations: 15.98 kB / 0.8367 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.6915, allocations: 7.938 kB / 0.8367 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003511/0.695, allocations: 2.231 MB / 0.8389 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008806/0.6959, allocations: 438.1 kB / 0.8393 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004276/0.6963, allocations: 32 kB / 0.8393 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.6974, allocations: 52.09 kB / 0.8394 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.6977, allocations: 116.7 kB / 0.8395 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.6978, allocations: 67.91 kB / 0.8395 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002043/0.6998, allocations: 1.091 MB / 0.8406 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6999, allocations: 0 / 0.8406 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004153/0.704, allocations: 1.135 MB / 0.8417 GB, free: 14.41 MB / 0.6231 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.006112/0.7101, allocations: 3.471 MB / 0.8451 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003095/0.7133, allocations: 1.813 MB / 0.8469 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.7133, allocations: 0 / 0.8469 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.7145, allocations: 0.8177 MB / 0.8477 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004337/0.7188, allocations: 0.9762 MB / 0.8486 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01852/0.7374, allocations: 12.46 MB / 0.8608 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.7385, allocations: 1.442 MB / 0.8622 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001792/0.7403, allocations: 0.5387 MB / 0.8627 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/0.7413, allocations: 0.8467 MB / 0.8636 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of SimCode: time 7.02e-07/0.7414, allocations: 4 kB / 0.8636 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09665/0.838, allocations: 59.7 MB / 0.9219 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.6, allocations: 7.984 kB / 0.9219 GB, free: 12.3 MB / 0.7012 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)