Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.824/1.824, allocations: 289.9 MB / 297.4 MB, free: 6.414 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001712/0.001712, allocations: 169 kB / 366.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009438/0.0009437, allocations: 95.59 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.968e-05/2.972e-05, allocations: 8 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6996/0.6997, allocations: 116.3 MB / 0.9734 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2083/0.908, allocations: 141.5 MB / 1.112 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.9083, allocations: 91.94 kB / 1.112 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01428/0.9226, allocations: 5.127 MB / 1.117 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9227, allocations: 0 / 1.117 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.322e-05/0.9227, allocations: 4.594 kB / 1.117 GB, free: 3.371 MB / 0.7136 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.0005905/0.9233, allocations: 431.2 kB / 1.117 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.9234, allocations: 10.28 kB / 1.117 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.619e-05/0.9235, allocations: 16.5 kB / 1.117 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.9239, allocations: 262.9 kB / 1.117 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.924, allocations: 4 kB / 1.117 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.924, allocations: 5.469 kB / 1.117 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003177/0.9243, allocations: 187.8 kB / 1.118 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.9245, allocations: 112.1 kB / 1.118 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.9246, allocations: 0 / 1.118 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.9246, allocations: 2.969 kB / 1.118 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.9246, allocations: 4 kB / 1.118 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.9249, allocations: 237.9 kB / 1.118 GB, free: 2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.9253, allocations: 198.5 kB / 1.118 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.504e-05/0.9254, allocations: 58.16 kB / 1.118 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.9255, allocations: 4.328 kB / 1.118 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.9257, allocations: 117.6 kB / 1.118 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/0.9257, allocations: 0 / 1.118 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0004075/0.9261, allocations: 195.2 kB / 1.118 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.9262, allocations: 81.11 kB / 1.119 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.9264, allocations: 214.8 kB / 1.119 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.9265, allocations: 33.7 kB / 1.119 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.9265, allocations: 109.4 kB / 1.119 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.9266, allocations: 45.42 kB / 1.119 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.9266, allocations: 0 / 1.119 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.9268, allocations: 331.7 kB / 1.119 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.9269, allocations: 51.98 kB / 1.119 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.927, allocations: 82.41 kB / 1.119 GB, free: 448 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.9271, allocations: 55.97 kB / 1.119 GB, free: 392 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.9271, allocations: 0.6562 kB / 1.119 GB, free: 392 kB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003139/0.9274, allocations: 203.7 kB / 1.12 GB, free: 184 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.9274, allocations: 4 kB / 1.12 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.9275, allocations: 7.984 kB / 1.12 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.9275, allocations: 0 / 1.12 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.9276, allocations: 23.98 kB / 1.12 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.9276, allocations: 0 / 1.12 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.071e-05/0.9277, allocations: 15.91 kB / 1.12 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.9277, allocations: 8 kB / 1.12 GB, free: 124 kB / 0.7136 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 9.182e-05/0.9278, allocations: 107 kB / 1.12 GB, free: 12 kB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003171/0.9282, allocations: 205.9 kB / 1.12 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.9282, allocations: 11.81 kB / 1.12 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.9286, allocations: 262.9 kB / 1.12 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.9287, allocations: 4 kB / 1.12 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.9287, allocations: 4 kB / 1.12 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.9287, allocations: 1.219 kB / 1.12 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.929, allocations: 242.2 kB / 1.12 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.929, allocations: 0 / 1.12 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.9291, allocations: 31.98 kB / 1.12 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.9291, allocations: 0 / 1.12 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.9291, allocations: 11.98 kB / 1.12 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.9291, allocations: 2.344 kB / 1.121 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.9292, allocations: 0 / 1.121 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.9295, allocations: 258.7 kB / 1.121 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/0.9296, allocations: 113.9 kB / 1.121 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.9297, allocations: 4 kB / 1.121 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.609e-05/0.9298, allocations: 7.984 kB / 1.121 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.9298, allocations: 11.98 kB / 1.121 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.9298, allocations: 14.81 kB / 1.121 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001667/0.93, allocations: 175.3 kB / 1.121 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/0.93, allocations: 0 / 1.121 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002845/0.9303, allocations: 43.98 kB / 1.121 GB, free: 14.56 MB / 0.7292 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.001508/0.9318, allocations: 1.086 MB / 1.122 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002711/0.9321, allocations: 158.3 kB / 1.122 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.9321, allocations: 0 / 1.122 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.9323, allocations: 83.92 kB / 1.122 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.9325, allocations: 19.98 kB / 1.122 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000718/0.9333, allocations: 323.9 kB / 1.123 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.9336, allocations: 0.7366 MB / 1.123 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001419/0.9338, allocations: 46.77 kB / 1.123 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.9339, allocations: 71.39 kB / 1.124 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.9339, allocations: 0 / 1.124 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.9616, allocations: 4.45 MB / 1.128 GB, free: 7.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.9618, allocations: 198.5 kB / 1.128 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.771, allocations: 0.75 kB / 1.128 GB, free: 7.551 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)