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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 108 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002437/0.002437, allocations: 271.4 kB / 309.1 MB, free: 3.949 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.195/1.195, allocations: 180.9 MB / 0.5333 GB, free: 13.8 MB / 382.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002855/0.002855, allocations: 111.7 kB / 0.7343 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.169, allocations: 95.34 MB / 0.8274 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003451/0.1725, allocations: 1.669 MB / 0.829 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002524/0.175, allocations: 1.647 MB / 0.8306 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.679e-05/0.1751, allocations: 3.938 kB / 0.8306 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004488/0.1755, allocations: 47.77 kB / 0.8307 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.1758, allocations: 103.5 kB / 0.8308 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.176, allocations: 75.73 kB / 0.8308 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.1763, allocations: 175.6 kB / 0.831 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.37e-05/0.1763, allocations: 7.984 kB / 0.831 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1764, allocations: 67.77 kB / 0.8311 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.1766, allocations: 82.47 kB / 0.8311 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.1767, allocations: 12 kB / 0.8312 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.1769, allocations: 111.9 kB / 0.8313 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.231e-05/0.1769, allocations: 47.78 kB / 0.8313 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.328e-05/0.177, allocations: 59.66 kB / 0.8314 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.1774, allocations: 251.3 kB / 0.8316 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1774, allocations: 4 kB / 0.8316 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1774, allocations: 0 / 0.8316 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1774, allocations: 0 / 0.8316 GB, free: 5.5 MB / 0.5762 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.0006932/0.1781, allocations: 498 kB / 0.8321 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1781, allocations: 11.97 kB / 0.8321 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.738e-05/0.1782, allocations: 38.75 kB / 0.8321 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.1782, allocations: 20.8 kB / 0.8322 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/0.1786, allocations: 265 kB / 0.8324 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.1787, allocations: 8.375 kB / 0.8324 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.1787, allocations: 7.938 kB / 0.8324 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.1789, allocations: 119.3 kB / 0.8325 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1789, allocations: 0 / 0.8325 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.1789, allocations: 3.984 kB / 0.8325 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1789, allocations: 0 / 0.8325 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/0.1792, allocations: 139.9 kB / 0.8327 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/0.1795, allocations: 237.5 kB / 0.8329 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.1799, allocations: 166.5 kB / 0.8331 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.18, allocations: 48.77 kB / 0.8331 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.18, allocations: 15.92 kB / 0.8331 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.1802, allocations: 107.4 kB / 0.8332 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.1802, allocations: 0 / 0.8332 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0005181/0.1807, allocations: 225.5 kB / 0.8334 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.1808, allocations: 81.11 kB / 0.8335 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.181, allocations: 216 kB / 0.8337 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.1811, allocations: 37.64 kB / 0.8338 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.788e-05/0.1812, allocations: 112.1 kB / 0.8339 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.518e-05/0.1812, allocations: 47.58 kB / 0.8339 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.1813, allocations: 37.7 kB / 0.8339 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1814, allocations: 330.8 kB / 0.8343 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.1815, allocations: 47.97 kB / 0.8343 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.1816, allocations: 70.55 kB / 0.8344 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.1819, allocations: 129.2 kB / 0.8345 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.1819, allocations: 3.938 kB / 0.8345 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003424/0.1822, allocations: 189.7 kB / 0.8347 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1822, allocations: 11.94 kB / 0.8347 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1822, allocations: 4 kB / 0.8347 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1823, allocations: 0 / 0.8347 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1824, allocations: 31.92 kB / 0.8347 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1824, allocations: 4 kB / 0.8347 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.789e-05/0.1824, allocations: 3.953 kB / 0.8347 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.1825, allocations: 11.98 kB / 0.8347 GB, free: 2.023 MB / 0.5762 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.0001279/0.1826, allocations: 140.6 kB / 0.8349 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.1826, allocations: 19.91 kB / 0.8349 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.447e-05/0.1827, allocations: 25.52 kB / 0.8349 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1827, allocations: 4 kB / 0.8349 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1827, allocations: 0 / 0.8349 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1827, allocations: 3.984 kB / 0.8349 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.1829, allocations: 253.4 kB / 0.8352 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1829, allocations: 0 / 0.8352 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/0.183, allocations: 23.92 kB / 0.8352 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.183, allocations: 0 / 0.8352 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.183, allocations: 7.984 kB / 0.8352 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.183, allocations: 0 / 0.8352 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.183, allocations: 4 kB / 0.8352 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.1834, allocations: 204.9 kB / 0.8354 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.39e-05/0.1835, allocations: 93 kB / 0.8355 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.1835, allocations: 8 kB / 0.8355 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.595e-05/0.1836, allocations: 4 kB / 0.8355 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.1836, allocations: 7.984 kB / 0.8355 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.1836, allocations: 7.938 kB / 0.8355 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001667/0.1838, allocations: 171.3 kB / 0.8357 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1838, allocations: 0 / 0.8357 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002937/0.1841, allocations: 51.86 kB / 0.8357 GB, free: 0.9219 MB / 0.5762 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.002345/0.1864, allocations: 1.161 MB / 0.8369 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002931/0.1867, allocations: 119.8 kB / 0.837 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1867, allocations: 0 / 0.837 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.1868, allocations: 55.91 kB / 0.837 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.1871, allocations: 37.69 kB / 0.8371 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.1896, allocations: 1.985 MB / 0.839 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.1899, allocations: 0.7281 MB / 0.8397 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.19, allocations: 45.5 kB / 0.8398 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.1901, allocations: 63.41 kB / 0.8398 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.1901, allocations: 0 / 0.8398 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/0.2205, allocations: 5.24 MB / 0.8449 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/8.335, allocations: 9.266 kB / 0.8449 GB, free: 7.676 MB / 0.5919 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.604135065805167] Failed to read output from testmodel.py, exit status != 0: 8.466311865951866 8.494830498 8.312574962 Calling exit ...