Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.42/1.42, allocations: 249.3 MB / 261.8 MB, free: 5.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.2 MB / 0.572 GB, free: 10.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008456/0.0008456, allocations: 86.48 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.104e-05/3.106e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1615, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.599/0.7605, allocations: 134.9 MB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.7607, allocations: 94.8 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01401/0.7748, allocations: 5.249 MB / 1.029 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7748, allocations: 0 / 1.029 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.797e-05/0.7748, allocations: 8 kB / 1.029 GB, free: 11.57 MB / 0.6511 GB 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.0005753/0.7754, allocations: 431.6 kB / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.7755, allocations: 12.03 kB / 1.029 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.547e-05/0.7755, allocations: 41.69 kB / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.63e-05/0.7756, allocations: 15.81 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.776, allocations: 265.1 kB / 1.03 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.776, allocations: 11.69 kB / 1.03 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.7761, allocations: 4 kB / 1.03 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.7763, allocations: 122.8 kB / 1.03 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.7763, allocations: 0 / 1.03 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.7764, allocations: 4 kB / 1.03 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.7764, allocations: 4 kB / 1.03 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.7767, allocations: 184.5 kB / 1.03 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.777, allocations: 260.2 kB / 1.03 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.7774, allocations: 202 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.7775, allocations: 60.09 kB / 1.03 GB, free: 10 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.7776, allocations: 3.391 kB / 1.03 GB, free: 10 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.7778, allocations: 126.2 kB / 1.031 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/0.7779, allocations: 3.938 kB / 1.031 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0004456/0.7783, allocations: 205.7 kB / 1.031 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.7784, allocations: 80.67 kB / 1.031 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.7786, allocations: 227.7 kB / 1.031 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.7787, allocations: 29.39 kB / 1.031 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.7788, allocations: 110.3 kB / 1.031 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.396e-05/0.7788, allocations: 46.2 kB / 1.031 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.138e-06/0.7789, allocations: 3.5 kB / 1.031 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.7791, allocations: 333.1 kB / 1.032 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.7792, allocations: 56.53 kB / 1.032 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.7793, allocations: 80.75 kB / 1.032 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.7794, allocations: 64.95 kB / 1.032 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7795, allocations: 0 / 1.032 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003606/0.7798, allocations: 211.9 kB / 1.032 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.7799, allocations: 4 kB / 1.032 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.7799, allocations: 4 kB / 1.032 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.7799, allocations: 0 / 1.032 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.7801, allocations: 27.92 kB / 1.032 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.7801, allocations: 0 / 1.032 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.874e-05/0.7802, allocations: 15.3 kB / 1.032 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.7802, allocations: 4 kB / 1.032 GB, free: 8.562 MB / 0.6511 GB 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 0.0001382/0.7804, allocations: 118.6 kB / 1.032 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.7804, allocations: 19.72 kB / 1.032 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005932/0.781, allocations: 274.6 kB / 1.032 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.7811, allocations: 4 kB / 1.032 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.7811, allocations: 3.938 kB / 1.032 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.7811, allocations: 0 / 1.032 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.7815, allocations: 285.3 kB / 1.033 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7815, allocations: 4 kB / 1.033 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.7816, allocations: 35.55 kB / 1.033 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.7816, allocations: 0 / 1.033 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.7817, allocations: 4 kB / 1.033 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.7817, allocations: 4 kB / 1.033 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7817, allocations: 0 / 1.033 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/0.7822, allocations: 273.4 kB / 1.033 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.7823, allocations: 108 kB / 1.033 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.7824, allocations: 7.625 kB / 1.033 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.7825, allocations: 11.81 kB / 1.033 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.7826, allocations: 15.97 kB / 1.033 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.7826, allocations: 11.25 kB / 1.033 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000231/0.7828, allocations: 181.8 kB / 1.033 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7828, allocations: 0 / 1.033 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003854/0.7832, allocations: 47 kB / 1.033 GB, free: 7.285 MB / 0.6511 GB 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.001815/0.7851, allocations: 1.109 MB / 1.034 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003342/0.7854, allocations: 151.9 kB / 1.035 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7854, allocations: 0 / 1.035 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.7856, allocations: 96.28 kB / 1.035 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.7859, allocations: 39.97 kB / 1.035 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/0.7868, allocations: 333.9 kB / 1.035 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.7873, allocations: 0.7328 MB / 1.036 GB, free: 5.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001558/0.7875, allocations: 53.45 kB / 1.036 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.7876, allocations: 75.2 kB / 1.036 GB, free: 4.922 MB / 0.6511 GB Notification: Performance of SimCode: time 4.71e-07/0.7876, allocations: 0 / 1.036 GB, free: 4.922 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.8048, allocations: 4.974 MB / 1.041 GB, free: 88 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/0.805, allocations: 228.8 kB / 1.041 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.576, allocations: 0 / 1.041 GB, free: 15.86 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)