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.001261/0.001261, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001436/0.001436, allocations: 217.6 kB / 22.26 MB, free: 5.113 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003861/0.003861, allocations: 294.8 kB / 312.7 MB, free: 2.844 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.226/1.226, allocations: 180.6 MB / 0.5369 GB, free: 12.96 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002909/0.002909, allocations: 102.6 kB / 0.7396 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1631, allocations: 95.38 MB / 0.8327 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00297/0.1661, allocations: 1.687 MB / 0.8344 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002511/0.1686, allocations: 1.738 MB / 0.8361 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.662e-05/0.1686, allocations: 4 kB / 0.8361 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003863/0.169, allocations: 59.69 kB / 0.8361 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.1693, allocations: 99.53 kB / 0.8362 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.1694, allocations: 71.72 kB / 0.8363 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.1697, allocations: 183.6 kB / 0.8365 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.1697, allocations: 4 kB / 0.8365 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.1698, allocations: 67.77 kB / 0.8365 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.17, allocations: 83.67 kB / 0.8366 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.1701, allocations: 8 kB / 0.8366 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.1703, allocations: 115.9 kB / 0.8367 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.699e-05/0.1703, allocations: 47.83 kB / 0.8368 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.502e-05/0.1704, allocations: 71.53 kB / 0.8369 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.1708, allocations: 243.4 kB / 0.8371 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1708, allocations: 0 / 0.8371 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1708, allocations: 0 / 0.8371 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.1708, allocations: 0 / 0.8371 GB, free: 4.172 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.0006682/0.1715, allocations: 424.9 kB / 0.8375 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1715, allocations: 9.344 kB / 0.8375 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.1715, allocations: 42.67 kB / 0.8375 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.1716, allocations: 20.8 kB / 0.8376 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.172, allocations: 207.8 kB / 0.8378 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.172, allocations: 384 / 0.8378 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.172, allocations: 11.94 kB / 0.8378 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.1723, allocations: 111.3 kB / 0.8379 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1723, allocations: 4 kB / 0.8379 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1723, allocations: 3.938 kB / 0.8379 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1723, allocations: 7.984 kB / 0.8379 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.1725, allocations: 143.8 kB / 0.838 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002521/0.1728, allocations: 204.6 kB / 0.8382 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.1732, allocations: 166.4 kB / 0.8384 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.1733, allocations: 56.83 kB / 0.8384 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.1733, allocations: 4 kB / 0.8384 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002325/0.1735, allocations: 116.9 kB / 0.8386 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.1735, allocations: 0 / 0.8386 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.000492/0.174, allocations: 221.5 kB / 0.8388 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.1741, allocations: 81.09 kB / 0.8388 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.1743, allocations: 224 kB / 0.8391 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1744, allocations: 29.7 kB / 0.8391 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.989e-05/0.1744, allocations: 116.1 kB / 0.8392 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.512e-05/0.1745, allocations: 47.64 kB / 0.8392 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/0.1746, allocations: 33.7 kB / 0.8393 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1747, allocations: 326.8 kB / 0.8396 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.1748, allocations: 55.91 kB / 0.8396 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1749, allocations: 77.36 kB / 0.8397 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.1752, allocations: 123.1 kB / 0.8398 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1752, allocations: 4.047 kB / 0.8398 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003417/0.1755, allocations: 202.8 kB / 0.84 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1755, allocations: 4 kB / 0.84 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1755, allocations: 0 / 0.84 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1755, allocations: 4 kB / 0.84 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1757, allocations: 23.98 kB / 0.8401 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.1757, allocations: 4.031 kB / 0.8401 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.332e-05/0.1757, allocations: 15.89 kB / 0.8401 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.1757, allocations: 4 kB / 0.8401 GB, free: 0.8867 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.0001309/0.1759, allocations: 148.3 kB / 0.8402 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.1759, allocations: 15.91 kB / 0.8402 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004393/0.1763, allocations: 219 kB / 0.8405 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1763, allocations: 0 / 0.8405 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1764, allocations: 0 / 0.8405 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1764, allocations: 4 kB / 0.8405 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.1766, allocations: 220.5 kB / 0.8407 GB, free: 236 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1766, allocations: 0 / 0.8407 GB, free: 236 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.839e-05/0.1766, allocations: 19.98 kB / 0.8407 GB, free: 216 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1766, allocations: 0 / 0.8407 GB, free: 216 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1767, allocations: 4 kB / 0.8407 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1767, allocations: 0 / 0.8407 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1767, allocations: 0 / 0.8407 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.177, allocations: 221.8 kB / 0.8409 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.177, allocations: 23.84 kB / 0.8409 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.1771, allocations: 7.984 kB / 0.8409 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.24e-05/0.1771, allocations: 4 kB / 0.8409 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.1772, allocations: 15.92 kB / 0.8409 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.1772, allocations: 4 kB / 0.841 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001621/0.1774, allocations: 163.3 kB / 0.8411 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1774, allocations: 0 / 0.8411 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002854/0.1776, allocations: 55.86 kB / 0.8412 GB, free: 15.7 MB / 0.5919 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) * 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.002317/0.18, allocations: 1.149 MB / 0.8423 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002926/0.1803, allocations: 115.9 kB / 0.8424 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1803, allocations: 4 kB / 0.8424 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.1804, allocations: 63.52 kB / 0.8425 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.1807, allocations: 38.72 kB / 0.8425 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.1831, allocations: 1.998 MB / 0.8444 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.1835, allocations: 0.7164 MB / 0.8451 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001139/0.1836, allocations: 49.59 kB / 0.8452 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.1837, allocations: 63.41 kB / 0.8453 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.1837, allocations: 0 / 0.8453 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/0.2177, allocations: 5.4 MB / 0.8505 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.29, allocations: 4.672 kB / 0.8505 GB, free: 6.25 MB / 0.5919 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=50 --tolerance=1e-06 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: 15.447708890074864] Failed to read output from testmodel.py, exit status != 0: 11.453265270916745 11.478521568 11.303407326 Calling exit ...