Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.005262/0.005262, allocations: 98.27 kB / 15.73 MB, free: 5.98 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.001199/0.001199, allocations: 194.4 kB / 16.67 MB, free: 5.91 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002052/0.002052, allocations: 295 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9943/0.9943, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 95.84 kB / 0.681 GB, free: 7.434 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4495, allocations: 86.98 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002922/0.4525, allocations: 1.632 MB / 0.7675 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002356/0.4549, allocations: 1.489 MB / 0.769 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.455, allocations: 0 / 0.769 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004653/0.4555, allocations: 55.77 kB / 0.769 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.4557, allocations: 59.69 kB / 0.7691 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.4561, allocations: 101.6 kB / 0.7692 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.4563, allocations: 167.6 kB / 0.7693 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.453e-05/0.4564, allocations: 12.23 kB / 0.7694 GB, free: 320 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.4565, allocations: 59.72 kB / 0.7694 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.4567, allocations: 71.78 kB / 0.7695 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.4567, allocations: 8 kB / 0.7695 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.4569, allocations: 63.98 kB / 0.7695 GB, free: 116 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.457, allocations: 43.89 kB / 0.7696 GB, free: 72 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.965e-05/0.4571, allocations: 67.53 kB / 0.7697 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.4574, allocations: 200.5 kB / 0.7698 GB, free: 15.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4575, allocations: 0 / 0.7698 GB, free: 15.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.562e-06/0.4575, allocations: 0 / 0.7698 GB, free: 15.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.4575, allocations: 0 / 0.7698 GB, free: 15.81 MB / 0.545 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.0007252/0.4582, allocations: 474.3 kB / 0.7703 GB, free: 15.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.4583, allocations: 8.031 kB / 0.7703 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.25e-05/0.4583, allocations: 38.75 kB / 0.7703 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.89e-05/0.4584, allocations: 20.8 kB / 0.7704 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.4589, allocations: 269 kB / 0.7706 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.4589, allocations: 384 / 0.7706 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.4589, allocations: 15.92 kB / 0.7706 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.4592, allocations: 115.3 kB / 0.7707 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.4592, allocations: 0 / 0.7707 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.4592, allocations: 3.938 kB / 0.7707 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.4592, allocations: 4 kB / 0.7708 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.4595, allocations: 143.8 kB / 0.7709 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.4598, allocations: 233.6 kB / 0.7711 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/0.4602, allocations: 174.5 kB / 0.7713 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.4604, allocations: 56.84 kB / 0.7713 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.4604, allocations: 7.984 kB / 0.7713 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.4607, allocations: 115.3 kB / 0.7714 GB, free: 13.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.4607, allocations: 0 / 0.7714 GB, free: 13.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005608/0.4613, allocations: 232.1 kB / 0.7717 GB, free: 13.76 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.4613, allocations: 77.11 kB / 0.7717 GB, free: 13.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.4616, allocations: 202.6 kB / 0.7719 GB, free: 13.46 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.4616, allocations: 29.7 kB / 0.772 GB, free: 13.42 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.4617, allocations: 112.1 kB / 0.7721 GB, free: 13.31 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.4617, allocations: 47.62 kB / 0.7721 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.4618, allocations: 37.7 kB / 0.7722 GB, free: 13.22 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.4619, allocations: 326.8 kB / 0.7725 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.462, allocations: 51.97 kB / 0.7725 GB, free: 12.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.4622, allocations: 70.55 kB / 0.7726 GB, free: 12.76 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.4624, allocations: 121.6 kB / 0.7727 GB, free: 12.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4624, allocations: 7.969 kB / 0.7727 GB, free: 12.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003258/0.4627, allocations: 201.5 kB / 0.7729 GB, free: 12.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.4627, allocations: 4 kB / 0.7729 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4627, allocations: 0 / 0.7729 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4628, allocations: 0 / 0.7729 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.4629, allocations: 27.98 kB / 0.7729 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.4629, allocations: 0 / 0.7729 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.896e-05/0.463, allocations: 4 kB / 0.7729 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.463, allocations: 8 kB / 0.7729 GB, free: 12.38 MB / 0.545 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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.4631, allocations: 145.7 kB / 0.7731 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.4632, allocations: 19.86 kB / 0.7731 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.444e-05/0.4632, allocations: 29.52 kB / 0.7731 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4632, allocations: 0 / 0.7731 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4633, allocations: 0 / 0.7731 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4633, allocations: 0 / 0.7731 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.4635, allocations: 245.4 kB / 0.7734 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4635, allocations: 0 / 0.7734 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-05/0.4636, allocations: 20 kB / 0.7734 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4636, allocations: 7.922 kB / 0.7734 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.4636, allocations: 8 kB / 0.7734 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4636, allocations: 0 / 0.7734 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4636, allocations: 0 / 0.7734 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.464, allocations: 223.2 kB / 0.7736 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.464, allocations: 89.02 kB / 0.7737 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.4641, allocations: 4 kB / 0.7737 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.988e-05/0.4641, allocations: 4 kB / 0.7737 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.4642, allocations: 15.98 kB / 0.7737 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.4642, allocations: 7.984 kB / 0.7737 GB, free: 11.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000143/0.4644, allocations: 156.2 kB / 0.7739 GB, free: 11.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4644, allocations: 0 / 0.7739 GB, free: 11.33 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002654/0.4646, allocations: 39.92 kB / 0.7739 GB, free: 11.29 MB / 0.545 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001557/0.4662, allocations: 1.095 MB / 0.775 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002748/0.4665, allocations: 127.9 kB / 0.7751 GB, free: 10.22 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4665, allocations: 0 / 0.7751 GB, free: 10.22 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.4666, allocations: 59.97 kB / 0.7752 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.4669, allocations: 40.61 kB / 0.7752 GB, free: 10.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.4692, allocations: 1.942 MB / 0.7771 GB, free: 8.098 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.4695, allocations: 0.724 MB / 0.7778 GB, free: 7.348 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000115/0.4696, allocations: 53.59 kB / 0.7779 GB, free: 7.297 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.4697, allocations: 59.41 kB / 0.7779 GB, free: 7.238 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4697, allocations: 0 / 0.7779 GB, free: 7.238 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.4948, allocations: 4.692 MB / 0.7825 GB, free: 2.715 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.435/7.93, allocations: 6.75 kB / 0.7825 GB, free: 2.711 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv --start-time 0 --stop-time 603900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)