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.001399/0.001399, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 192.2 kB / 16.67 MB, free: 6.574 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002514/0.002514, allocations: 282.3 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.066/1.066, allocations: 178.6 MB / 0.5074 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002783/0.002783, allocations: 103.8 kB / 0.6943 GB, free: 3.59 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4508/0.4536, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003107/0.4567, allocations: 1.649 MB / 0.783 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002329/0.4591, allocations: 1.479 MB / 0.7844 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.899e-05/0.4592, allocations: 5.031 kB / 0.7844 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.4597, allocations: 54.23 kB / 0.7845 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.4599, allocations: 57.94 kB / 0.7845 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.4603, allocations: 99.39 kB / 0.7846 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.4605, allocations: 169 kB / 0.7848 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.154e-05/0.4606, allocations: 13.97 kB / 0.7848 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.4607, allocations: 61.8 kB / 0.7848 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.4609, allocations: 63.73 kB / 0.7849 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.461, allocations: 10.28 kB / 0.7849 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.4611, allocations: 72.36 kB / 0.785 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.059e-05/0.4612, allocations: 39.02 kB / 0.785 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.426e-05/0.4613, allocations: 66.36 kB / 0.7851 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003591/0.4617, allocations: 191.6 kB / 0.7853 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.4617, allocations: 6.031 kB / 0.7853 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4617, allocations: 0 / 0.7853 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.4617, allocations: 0 / 0.7853 GB, free: 11.24 MB / 0.5606 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.0007037/0.4624, allocations: 472.1 kB / 0.7857 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.4625, allocations: 9.594 kB / 0.7857 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.4625, allocations: 38.39 kB / 0.7858 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/0.4626, allocations: 25.17 kB / 0.7858 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.4631, allocations: 270.4 kB / 0.786 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.4631, allocations: 3.594 kB / 0.786 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.4632, allocations: 11.62 kB / 0.7861 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.4634, allocations: 111.8 kB / 0.7862 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.4634, allocations: 0 / 0.7862 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.4635, allocations: 2.109 kB / 0.7862 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4635, allocations: 5.5 kB / 0.7862 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.4637, allocations: 144.3 kB / 0.7863 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.464, allocations: 230.3 kB / 0.7865 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.4644, allocations: 175.1 kB / 0.7867 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.4645, allocations: 52.36 kB / 0.7867 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.4646, allocations: 5.469 kB / 0.7868 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002521/0.4649, allocations: 125.6 kB / 0.7869 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.4649, allocations: 1.344 kB / 0.7869 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005311/0.4654, allocations: 225.3 kB / 0.7871 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.4655, allocations: 82.94 kB / 0.7872 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.4657, allocations: 202.2 kB / 0.7874 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.4658, allocations: 33.06 kB / 0.7874 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.4659, allocations: 114.3 kB / 0.7875 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.444e-05/0.4659, allocations: 44.84 kB / 0.7875 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.587e-05/0.466, allocations: 32.72 kB / 0.7876 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4661, allocations: 324.6 kB / 0.7879 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.4663, allocations: 54.19 kB / 0.7879 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.4664, allocations: 71.58 kB / 0.788 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.4666, allocations: 127.5 kB / 0.7881 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.4666, allocations: 3.938 kB / 0.7881 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000393/0.467, allocations: 194.4 kB / 0.7883 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.4671, allocations: 6.578 kB / 0.7883 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.4671, allocations: 0 / 0.7883 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.4671, allocations: 2.125 kB / 0.7883 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.4672, allocations: 27.69 kB / 0.7883 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.4673, allocations: 1.812 kB / 0.7883 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.301e-05/0.4673, allocations: 8.344 kB / 0.7884 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.4674, allocations: 9.078 kB / 0.7884 GB, free: 8.918 MB / 0.5606 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.0001571/0.4675, allocations: 153 kB / 0.7885 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.4676, allocations: 19.83 kB / 0.7885 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.208e-05/0.4677, allocations: 26.31 kB / 0.7886 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.4677, allocations: 1.344 kB / 0.7886 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.4677, allocations: 0 / 0.7886 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4677, allocations: 2.875 kB / 0.7886 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.4679, allocations: 239.1 kB / 0.7888 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.468, allocations: 0 / 0.7888 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.065e-05/0.468, allocations: 21.92 kB / 0.7888 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.468, allocations: 1.188 kB / 0.7888 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.4681, allocations: 9.453 kB / 0.7888 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4681, allocations: 0 / 0.7888 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4681, allocations: 1.406 kB / 0.7888 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.4685, allocations: 216.1 kB / 0.789 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.4686, allocations: 89.12 kB / 0.7891 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.4686, allocations: 7.156 kB / 0.7891 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.304e-05/0.4687, allocations: 12.33 kB / 0.7891 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.4687, allocations: 8.266 kB / 0.7891 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.4688, allocations: 10.42 kB / 0.7891 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000199/0.469, allocations: 152 kB / 0.7893 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.469, allocations: 0 / 0.7893 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003467/0.4693, allocations: 40.42 kB / 0.7893 GB, free: 8.184 MB / 0.5606 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.002523/0.4719, allocations: 1.094 MB / 0.7904 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004633/0.4723, allocations: 129.3 kB / 0.7905 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4724, allocations: 4.562 kB / 0.7905 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.4725, allocations: 57.84 kB / 0.7906 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.4729, allocations: 41.39 kB / 0.7906 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.4756, allocations: 1.937 MB / 0.7925 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.476, allocations: 0.7158 MB / 0.7932 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002084/0.4763, allocations: 56.84 kB / 0.7933 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.4764, allocations: 61.59 kB / 0.7933 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/0.4764, allocations: 0 / 0.7933 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.506, allocations: 4.707 MB / 0.7979 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.683, allocations: 15.95 kB / 0.7979 GB, free: 3.668 MB / 0.5606 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)