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.0007728/0.0007728, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0007742/0.0007742, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.8623/0.8623, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001363/0.001363, allocations: 233.9 kB / 260.2 MB, free: 13.02 MB / 250.7 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 0.6656/0.6656, allocations: 138.4 MB / 455.1 MB, free: 29.94 MB / 410.7 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: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=671,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=671,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.6475 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.537e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.2213/0.2213, allocations: 1.655 MB / 0.6492 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.223, allocations: 1.668 MB / 0.6508 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.223, allocations: 0.75 kB / 0.6508 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003972/0.2234, allocations: 65.64 kB / 0.6509 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.2236, allocations: 95.27 kB / 0.6509 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001245/0.2237, allocations: 78.42 kB / 0.651 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.2239, allocations: 181.3 kB / 0.6512 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.224, allocations: 9.5 kB / 0.6512 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.784e-05/0.2241, allocations: 82.92 kB / 0.6513 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.2242, allocations: 68.97 kB / 0.6513 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.2242, allocations: 12.03 kB / 0.6514 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.2243, allocations: 110.3 kB / 0.6515 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.2244, allocations: 52.34 kB / 0.6515 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.2244, allocations: 39.72 kB / 0.6515 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.2247, allocations: 261.1 kB / 0.6518 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2247, allocations: 2.766 kB / 0.6518 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2247, allocations: 2.406 kB / 0.6518 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.2247, allocations: 0 / 0.6518 GB, free: 55.39 MB / 0.5573 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.0004393/0.2252, allocations: 420.2 kB / 0.6522 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.2252, allocations: 10.22 kB / 0.6522 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.2252, allocations: 23.05 kB / 0.6522 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.2255, allocations: 193.9 kB / 0.6524 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.2255, allocations: 4.344 kB / 0.6524 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.2255, allocations: 4.031 kB / 0.6524 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.2257, allocations: 157.5 kB / 0.6526 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2257, allocations: 7.875 kB / 0.6526 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.2257, allocations: 5.703 kB / 0.6526 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2257, allocations: 3.781 kB / 0.6526 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.2259, allocations: 186.6 kB / 0.6528 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.2261, allocations: 179.5 kB / 0.6529 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.2264, allocations: 195.7 kB / 0.6531 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.894e-05/0.2264, allocations: 59.41 kB / 0.6532 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.2265, allocations: 1.5 kB / 0.6532 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.2266, allocations: 121.8 kB / 0.6533 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.2266, allocations: 0.8125 kB / 0.6533 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.0003614/0.227, allocations: 267 kB / 0.6536 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.227, allocations: 79.33 kB / 0.6536 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.2272, allocations: 248.2 kB / 0.6539 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.2272, allocations: 32.67 kB / 0.6539 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.2272, allocations: 115.5 kB / 0.654 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.2272, allocations: 44.31 kB / 0.6541 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.2273, allocations: 38.75 kB / 0.6541 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.541e-05/0.2273, allocations: 336.3 kB / 0.6544 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.931e-05/0.2274, allocations: 58.42 kB / 0.6545 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-05/0.2275, allocations: 107.2 kB / 0.6546 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.2276, allocations: 147.8 kB / 0.6547 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2276, allocations: 5.781 kB / 0.6547 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002159/0.2278, allocations: 217.5 kB / 0.6549 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2279, allocations: 6.438 kB / 0.6549 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2279, allocations: 5.812 kB / 0.6549 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.2279, allocations: 1.781 kB / 0.6549 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.128e-05/0.228, allocations: 31.58 kB / 0.655 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.228, allocations: 2.438 kB / 0.655 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.799e-05/0.228, allocations: 8.328 kB / 0.655 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.228, allocations: 7.844 kB / 0.655 GB, free: 53.25 MB / 0.5573 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 6.242e-05/0.2281, allocations: 136 kB / 0.6551 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.2281, allocations: 20.48 kB / 0.6551 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.2284, allocations: 294.6 kB / 0.6554 GB, free: 53.01 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2284, allocations: 5.812 kB / 0.6554 GB, free: 53 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2284, allocations: 0 / 0.6554 GB, free: 53 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2284, allocations: 1.219 kB / 0.6554 GB, free: 53 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.2285, allocations: 196.9 kB / 0.6556 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2285, allocations: 1.594 kB / 0.6556 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.2286, allocations: 29.12 kB / 0.6556 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2286, allocations: 1.656 kB / 0.6556 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2286, allocations: 9.031 kB / 0.6557 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2286, allocations: 3.25 kB / 0.6557 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2286, allocations: 5.688 kB / 0.6557 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.2288, allocations: 277.8 kB / 0.6559 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.2289, allocations: 28.48 kB / 0.656 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.2289, allocations: 7.094 kB / 0.656 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.09e-05/0.2289, allocations: 9.516 kB / 0.656 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.2289, allocations: 20.25 kB / 0.656 GB, free: 52.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.229, allocations: 10.64 kB / 0.656 GB, free: 52.67 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.893e-05/0.2291, allocations: 188.6 kB / 0.6562 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2291, allocations: 0 / 0.6562 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001842/0.2292, allocations: 59.39 kB / 0.6562 GB, free: 52.54 MB / 0.5573 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 (22): * Single equations (assignments): 20 * 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.000785/0.23, allocations: 0.54 MB / 0.6568 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.2302, allocations: 149 kB / 0.6569 GB, free: 52.37 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2302, allocations: 3.938 kB / 0.6569 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 9.055e-05/0.2303, allocations: 88.81 kB / 0.657 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.2305, allocations: 36.62 kB / 0.657 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.2309, allocations: 386.2 kB / 0.6574 GB, free: 52.08 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.707e-05/0.231, allocations: 125.5 kB / 0.6575 GB, free: 52 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.412e-05/0.2311, allocations: 38 kB / 0.6576 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of SimCode: time 4.91e-07/0.2311, allocations: 0 / 0.6576 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of Templates: time 0.003793/0.2349, allocations: 3.516 MB / 0.661 GB, free: 51.62 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.362946989014745] Failed to read output from testmodel.py, exit status != 0: 0.24015921633690596 0.24677026100000002 0.020513204 Calling exit ...