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.001226/0.001226, allocations: 108 kB / 15.6 MB, free: 132 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.001282/0.001282, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002219/0.00222, allocations: 291 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9753/0.9753, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 101.1 kB / 0.5954 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1489, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002609/0.1515, allocations: 1.632 MB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1533, allocations: 1.485 MB / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.1534, allocations: 0 / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.1537, allocations: 55.75 kB / 0.6834 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.1539, allocations: 51.7 kB / 0.6834 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.1542, allocations: 108.9 kB / 0.6835 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1543, allocations: 163.6 kB / 0.6837 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.1544, allocations: 12.5 kB / 0.6837 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.001e-05/0.1545, allocations: 67.77 kB / 0.6838 GB, free: 13 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.1546, allocations: 65.69 kB / 0.6838 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.1547, allocations: 12 kB / 0.6839 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.1548, allocations: 63.97 kB / 0.6839 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.1549, allocations: 43.84 kB / 0.684 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.721e-05/0.1549, allocations: 63.59 kB / 0.684 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.1552, allocations: 191.4 kB / 0.6842 GB, free: 12.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1552, allocations: 3.938 kB / 0.6842 GB, free: 12.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1552, allocations: 0 / 0.6842 GB, free: 12.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.1552, allocations: 0 / 0.6842 GB, free: 12.57 MB / 494.1 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.0005314/0.1557, allocations: 470.7 kB / 0.6847 GB, free: 12.06 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.1558, allocations: 12.02 kB / 0.6847 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.1558, allocations: 42.69 kB / 0.6847 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.1559, allocations: 12.75 kB / 0.6847 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.1562, allocations: 263.9 kB / 0.685 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1562, allocations: 4.375 kB / 0.685 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1562, allocations: 7.938 kB / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.1564, allocations: 119.3 kB / 0.6851 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1564, allocations: 0 / 0.6851 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1565, allocations: 0 / 0.6851 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1565, allocations: 0 / 0.6851 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.1567, allocations: 139.9 kB / 0.6852 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.1569, allocations: 241.4 kB / 0.6855 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/0.1572, allocations: 178.4 kB / 0.6856 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.419e-05/0.1573, allocations: 56.83 kB / 0.6857 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.1574, allocations: 7.984 kB / 0.6857 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.1576, allocations: 111.3 kB / 0.6858 GB, free: 10.76 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.1576, allocations: 0 / 0.6858 GB, free: 10.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004457/0.1581, allocations: 220.4 kB / 0.686 GB, free: 10.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.1581, allocations: 85.11 kB / 0.6861 GB, free: 10.44 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.1583, allocations: 214.9 kB / 0.6863 GB, free: 10.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1583, allocations: 29.7 kB / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.1584, allocations: 116.1 kB / 0.6864 GB, free: 10.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.1584, allocations: 39.45 kB / 0.6865 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.1585, allocations: 29.72 kB / 0.6865 GB, free: 9.988 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.259e-05/0.1586, allocations: 334.8 kB / 0.6868 GB, free: 9.652 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.153e-05/0.1587, allocations: 43.98 kB / 0.6869 GB, free: 9.609 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.1588, allocations: 76.38 kB / 0.6869 GB, free: 9.527 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.159, allocations: 129.6 kB / 0.6871 GB, free: 9.395 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.159, allocations: 3.938 kB / 0.6871 GB, free: 9.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002903/0.1593, allocations: 185.4 kB / 0.6872 GB, free: 9.203 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1593, allocations: 4.109 kB / 0.6872 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.1593, allocations: 11.92 kB / 0.6873 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1593, allocations: 4 kB / 0.6873 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.1595, allocations: 28.05 kB / 0.6873 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1595, allocations: 7.938 kB / 0.6873 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.75e-05/0.1595, allocations: 15.83 kB / 0.6873 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1595, allocations: 8 kB / 0.6873 GB, free: 9.125 MB / 494.1 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 ($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.0001047/0.1597, allocations: 143 kB / 0.6875 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.1597, allocations: 15.81 kB / 0.6875 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.465e-05/0.1598, allocations: 21.52 kB / 0.6875 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1598, allocations: 4 kB / 0.6875 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1598, allocations: 0 / 0.6875 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1598, allocations: 4 kB / 0.6875 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.16, allocations: 241.4 kB / 0.6877 GB, free: 8.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.16, allocations: 0 / 0.6877 GB, free: 8.648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-05/0.16, allocations: 19.98 kB / 0.6877 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.16, allocations: 0 / 0.6877 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1601, allocations: 11.98 kB / 0.6878 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1601, allocations: 0 / 0.6878 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1601, allocations: 0 / 0.6878 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.1604, allocations: 219.5 kB / 0.688 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.1604, allocations: 92.94 kB / 0.6881 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.1605, allocations: 4 kB / 0.6881 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.682e-05/0.1605, allocations: 4 kB / 0.6881 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.1606, allocations: 11.98 kB / 0.6881 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.1606, allocations: 8 kB / 0.6881 GB, free: 8.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.1607, allocations: 156.2 kB / 0.6882 GB, free: 8.098 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1607, allocations: 0 / 0.6882 GB, free: 8.098 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.161, allocations: 35.91 kB / 0.6883 GB, free: 8.062 MB / 494.1 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.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.001387/0.1624, allocations: 1.107 MB / 0.6893 GB, free: 7.105 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.1626, allocations: 135.8 kB / 0.6895 GB, free: 6.973 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1626, allocations: 0 / 0.6895 GB, free: 6.973 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.1628, allocations: 59.97 kB / 0.6895 GB, free: 6.914 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.163, allocations: 36.61 kB / 0.6896 GB, free: 6.879 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.1649, allocations: 1.926 MB / 0.6914 GB, free: 4.871 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.1651, allocations: 0.7241 MB / 0.6922 GB, free: 4.121 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.1652, allocations: 57.58 kB / 0.6922 GB, free: 4.066 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.209e-05/0.1653, allocations: 59.41 kB / 0.6923 GB, free: 4.008 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1654, allocations: 0 / 0.6923 GB, free: 4.008 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.1868, allocations: 4.586 MB / 0.6967 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.293/7.48, allocations: 13.41 kB / 0.6968 GB, free: 15.59 MB / 0.4981 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)