Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 179.6 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4711/0.4711, allocations: 90.81 MB / 104.5 MB, free: 9.785 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 221.3 MB / 348.3 MB, free: 416 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009336/0.0009334, allocations: 98.53 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.262e-05/4.273e-05, allocations: 4 kB / 0.4897 GB, free: 5.25 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3271, allocations: 72.3 MB / 0.5603 GB, free: 40.32 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.4467, allocations: 105.2 MB / 0.6631 GB, free: 14.97 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.4469, allocations: 91.94 kB / 0.6632 GB, free: 14.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01352/0.4605, allocations: 5.411 MB / 0.6685 GB, free: 9.484 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4605, allocations: 0 / 0.6685 GB, free: 9.484 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.4605, allocations: 4 kB / 0.6685 GB, free: 9.48 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005418/0.4611, allocations: 441.9 kB / 0.6689 GB, free: 9.004 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.4611, allocations: 18.33 kB / 0.6689 GB, free: 8.988 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/0.4612, allocations: 30.56 kB / 0.6689 GB, free: 8.949 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.4613, allocations: 15.81 kB / 0.6689 GB, free: 8.934 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.4616, allocations: 258.4 kB / 0.6692 GB, free: 8.641 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.4616, allocations: 4 kB / 0.6692 GB, free: 8.637 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.4617, allocations: 8 kB / 0.6692 GB, free: 8.629 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.4619, allocations: 125.4 kB / 0.6693 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.4619, allocations: 4 kB / 0.6693 GB, free: 8.492 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.4619, allocations: 7.938 kB / 0.6693 GB, free: 8.484 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.4619, allocations: 0 / 0.6693 GB, free: 8.484 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/0.4622, allocations: 183.8 kB / 0.6695 GB, free: 8.305 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.4624, allocations: 261.5 kB / 0.6698 GB, free: 8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/0.4628, allocations: 198.5 kB / 0.6699 GB, free: 7.797 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.917e-05/0.4629, allocations: 60.84 kB / 0.67 GB, free: 7.734 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.463, allocations: 4 kB / 0.67 GB, free: 7.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.4632, allocations: 121.6 kB / 0.6701 GB, free: 7.602 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.4632, allocations: 0 / 0.6701 GB, free: 7.602 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003606/0.4635, allocations: 205.7 kB / 0.6703 GB, free: 7.395 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.4636, allocations: 81.11 kB / 0.6704 GB, free: 7.297 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.4638, allocations: 221.8 kB / 0.6706 GB, free: 7.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.4639, allocations: 37.64 kB / 0.6706 GB, free: 7.027 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.4639, allocations: 113.3 kB / 0.6707 GB, free: 6.914 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.464, allocations: 43.45 kB / 0.6708 GB, free: 6.871 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-06/0.464, allocations: 0 / 0.6708 GB, free: 6.871 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.4641, allocations: 326.8 kB / 0.6711 GB, free: 6.543 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.783e-05/0.4642, allocations: 63.92 kB / 0.6712 GB, free: 6.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.229e-05/0.4643, allocations: 74.55 kB / 0.6712 GB, free: 6.398 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.71e-05/0.4644, allocations: 67.95 kB / 0.6713 GB, free: 6.332 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4644, allocations: 0 / 0.6713 GB, free: 6.332 MB / 490.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003005/0.4647, allocations: 209.9 kB / 0.6715 GB, free: 6.121 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4647, allocations: 4 kB / 0.6715 GB, free: 6.117 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4647, allocations: 0 / 0.6715 GB, free: 6.117 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.4648, allocations: 4.062 kB / 0.6715 GB, free: 6.113 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.4649, allocations: 31.92 kB / 0.6715 GB, free: 6.082 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.4649, allocations: 4.609 kB / 0.6715 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.465, allocations: 11.91 kB / 0.6716 GB, free: 6.066 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.465, allocations: 7.984 kB / 0.6716 GB, free: 6.059 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.853e-05/0.4651, allocations: 109 kB / 0.6717 GB, free: 5.945 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.4651, allocations: 15.81 kB / 0.6717 GB, free: 5.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.4656, allocations: 284.6 kB / 0.6719 GB, free: 5.645 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4656, allocations: 0 / 0.6719 GB, free: 5.645 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4656, allocations: 2.438 kB / 0.672 GB, free: 5.645 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4656, allocations: 3.953 kB / 0.672 GB, free: 5.641 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.4658, allocations: 281.6 kB / 0.6722 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4658, allocations: 0 / 0.6722 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.4659, allocations: 39.98 kB / 0.6723 GB, free: 5.277 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.4659, allocations: 0 / 0.6723 GB, free: 5.277 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.466, allocations: 4 kB / 0.6723 GB, free: 5.273 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.466, allocations: 0 / 0.6723 GB, free: 5.273 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.466, allocations: 4 kB / 0.6723 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.4663, allocations: 271.1 kB / 0.6725 GB, free: 4.988 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-05/0.4664, allocations: 108.8 kB / 0.6726 GB, free: 4.863 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.4664, allocations: 8 kB / 0.6726 GB, free: 4.855 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.4665, allocations: 8 kB / 0.6726 GB, free: 4.848 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.4666, allocations: 15.97 kB / 0.6727 GB, free: 4.832 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.4666, allocations: 4 kB / 0.6727 GB, free: 4.828 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001633/0.4668, allocations: 196.2 kB / 0.6729 GB, free: 4.637 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4668, allocations: 0 / 0.6729 GB, free: 4.637 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002449/0.467, allocations: 51.94 kB / 0.6729 GB, free: 4.586 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001387/0.4684, allocations: 1.112 MB / 0.674 GB, free: 3.609 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002638/0.4687, allocations: 155.8 kB / 0.6741 GB, free: 3.457 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4687, allocations: 0 / 0.6741 GB, free: 3.457 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.4688, allocations: 95.84 kB / 0.6742 GB, free: 3.363 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.4691, allocations: 31.92 kB / 0.6743 GB, free: 3.332 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/0.4697, allocations: 335.9 kB / 0.6746 GB, free: 2.969 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.4699, allocations: 0.7369 MB / 0.6753 GB, free: 2.207 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.47, allocations: 52.16 kB / 0.6753 GB, free: 2.164 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.4702, allocations: 67.41 kB / 0.6754 GB, free: 2.098 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4702, allocations: 0 / 0.6754 GB, free: 2.098 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01728/0.4875, allocations: 4.973 MB / 0.6803 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.4877, allocations: 223.9 kB / 0.6805 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.151, allocations: 0 / 0.6805 GB, free: 13.05 MB / 0.4948 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)