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.001704/0.001704, allocations: 102.8 kB / 16.4 MB, free: 6.484 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.00176/0.00176, allocations: 189.2 kB / 17.34 MB, free: 5.742 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7049/0.7049, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 61.62 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1609, allocations: 76.18 MB / 0.6316 GB, free: 5.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1103/0.2713, allocations: 115.2 MB / 0.744 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4016/0.6729, allocations: 26.53 MB / 0.77 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00601/0.679, allocations: 116.7 kB / 0.7701 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003682/0.6827, allocations: 1.147 MB / 0.7712 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01081/0.6936, allocations: 3.421 MB / 0.7745 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006949/0.7006, allocations: 2.35 MB / 0.7768 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009341/0.7099, allocations: 6.199 MB / 0.7829 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003287/0.7133, allocations: 1.929 MB / 0.7848 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006509/0.7198, allocations: 2.691 MB / 0.7874 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00377/0.7236, allocations: 1.769 MB / 0.7891 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006203/0.7242, allocations: 219.5 kB / 0.7893 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005872/0.7301, allocations: 2.345 MB / 0.7916 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005427/0.7307, allocations: 0.5386 MB / 0.7921 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002202/0.7329, allocations: 1.282 MB / 0.7934 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009568/0.7425, allocations: 4.105 MB / 0.7974 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.7425, allocations: 0 / 0.7974 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.226e-06/0.7425, allocations: 4.609 kB / 0.7974 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.792e-05/0.7426, allocations: 0 / 0.7974 GB, free: 6.219 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.007466/0.7501, allocations: 2.827 MB / 0.8002 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.7502, allocations: 14.09 kB / 0.8002 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002161/0.7504, allocations: 200.1 kB / 0.8004 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008134/0.7512, allocations: 256.5 kB / 0.8006 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003935/0.7552, allocations: 2.141 MB / 0.8027 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.468e-05/0.7552, allocations: 103.2 kB / 0.8028 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.7554, allocations: 139.7 kB / 0.8029 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.7575, allocations: 1.451 MB / 0.8043 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/0.7575, allocations: 10.69 kB / 0.8044 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.7577, allocations: 60.88 kB / 0.8044 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.7577, allocations: 33.97 kB / 0.8044 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.7592, allocations: 1.022 MB / 0.8054 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.00823/0.7675, allocations: 8.127 MB / 0.8134 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.7689, allocations: 0.834 MB / 0.8142 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005489/0.7694, allocations: 383.3 kB / 0.8146 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002043/0.7715, allocations: 2.796 MB / 0.8173 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.7715, allocations: 48.7 kB / 0.8173 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 4.869e-06/0.7715, allocations: 0 / 0.8173 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.002214/0.7738, allocations: 1.128 MB / 0.8184 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.7738, allocations: 61.16 kB / 0.8185 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/0.7757, allocations: 1.621 MB / 0.8201 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.878e-05/0.7758, allocations: 42.92 kB / 0.8201 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006748/0.7765, allocations: 0.9333 MB / 0.821 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.7767, allocations: 304.3 kB / 0.8213 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/0.777, allocations: 230.3 kB / 0.8215 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.7772, allocations: 351.7 kB / 0.8219 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005415/0.7777, allocations: 324 kB / 0.8222 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008908/0.7786, allocations: 0.7077 MB / 0.8229 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.7801, allocations: 1.09 MB / 0.8239 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.7801, allocations: 5.938 kB / 0.824 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002116/0.7822, allocations: 1.249 MB / 0.8252 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.7822, allocations: 13.56 kB / 0.8252 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.813e-05/0.7823, allocations: 16 kB / 0.8252 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.7823, allocations: 16 kB / 0.8252 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007909/0.7831, allocations: 264.2 kB / 0.8255 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.332e-05/0.7831, allocations: 27.92 kB / 0.8255 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009944/0.7841, allocations: 134.6 kB / 0.8256 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.7843, allocations: 71.91 kB / 0.8257 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001033/0.7853, allocations: 0.6244 MB / 0.8263 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008447/0.7862, allocations: 0.7032 MB / 0.827 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001474/0.7877, allocations: 1.081 MB / 0.828 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.821e-06/0.7877, allocations: 4 kB / 0.828 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002205/0.7899, allocations: 1.238 MB / 0.8293 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.7899, allocations: 8 kB / 0.8293 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/0.7899, allocations: 19.98 kB / 0.8293 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.79, allocations: 20.03 kB / 0.8293 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000813/0.7908, allocations: 259.5 kB / 0.8296 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/0.7908, allocations: 25.97 kB / 0.8296 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.7918, allocations: 99.25 kB / 0.8297 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.7919, allocations: 67.92 kB / 0.8297 GB, free: 10.99 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.0002866/0.7922, allocations: 263.3 kB / 0.83 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.7926, allocations: 197.6 kB / 0.8302 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.7956, allocations: 1.736 MB / 0.8319 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-05/0.7956, allocations: 15.98 kB / 0.8319 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.7957, allocations: 0 / 0.8319 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00168/0.7973, allocations: 1.154 MB / 0.833 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005463/0.8028, allocations: 3.478 MB / 0.8364 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.818e-05/0.8029, allocations: 15.98 kB / 0.8364 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006837/0.8036, allocations: 200.5 kB / 0.8366 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.8036, allocations: 16 kB / 0.8366 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-05/0.8037, allocations: 39.98 kB / 0.8367 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.377e-05/0.8037, allocations: 15.94 kB / 0.8367 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.8037, allocations: 8 kB / 0.8367 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003258/0.807, allocations: 2.231 MB / 0.8389 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008588/0.8078, allocations: 442.1 kB / 0.8393 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.8081, allocations: 28 kB / 0.8393 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007849/0.8089, allocations: 47.97 kB / 0.8394 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.8091, allocations: 116.7 kB / 0.8395 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.8092, allocations: 67.97 kB / 0.8395 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001451/0.8106, allocations: 1.095 MB / 0.8406 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8106, allocations: 0 / 0.8406 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002861/0.8135, allocations: 1.131 MB / 0.8417 GB, free: 14.43 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.004864/0.8184, allocations: 3.464 MB / 0.8451 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003085/0.8215, allocations: 1.812 MB / 0.8469 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.8215, allocations: 0 / 0.8469 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.8227, allocations: 0.8254 MB / 0.8477 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004704/0.8274, allocations: 0.9734 MB / 0.8486 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/0.8473, allocations: 12.46 MB / 0.8608 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.8485, allocations: 1.438 MB / 0.8622 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00191/0.8504, allocations: 0.5388 MB / 0.8627 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/0.8515, allocations: 0.8584 MB / 0.8636 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of SimCode: time 1.093e-06/0.8515, allocations: 0 / 0.8636 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1068/0.9584, allocations: 59.7 MB / 0.9219 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.58, allocations: 7.984 kB / 0.9219 GB, free: 12.32 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)