Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 194 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 225.6 MB / 251.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] 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.002395/0.002395, allocations: 299.2 kB / 307.1 MB, free: 8.359 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.111/1.111, allocations: 180.8 MB / 0.5304 GB, free: 14.53 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.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: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002629/0.002629, allocations: 98.91 kB / 0.7311 GB, free: 38.73 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.132, allocations: 94.21 MB / 0.8231 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002742/0.1347, allocations: 1.435 MB / 0.8245 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.136, allocations: 0.797 MB / 0.8253 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.937e-05/0.136, allocations: 0 / 0.8253 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.516e-05/0.1361, allocations: 3.984 kB / 0.8253 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.1361, allocations: 3.938 kB / 0.8253 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006318/0.1368, allocations: 183.6 kB / 0.8254 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.1369, allocations: 43.86 kB / 0.8255 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.861e-05/0.1369, allocations: 11.92 kB / 0.8255 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.216e-05/0.137, allocations: 12 kB / 0.8255 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.925e-05/0.137, allocations: 23.91 kB / 0.8255 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.137, allocations: 4 kB / 0.8255 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003782/0.1374, allocations: 219.7 kB / 0.8257 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.776e-05/0.1374, allocations: 11.94 kB / 0.8258 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.1375, allocations: 23.92 kB / 0.8258 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.1378, allocations: 191.5 kB / 0.826 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1378, allocations: 0 / 0.826 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1378, allocations: 0 / 0.826 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.1378, allocations: 0 / 0.826 GB, free: 14.94 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004697/0.1382, allocations: 353.4 kB / 0.8263 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.1383, allocations: 8.031 kB / 0.8263 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.1383, allocations: 8.891 kB / 0.8263 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.1384, allocations: 122.4 kB / 0.8264 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1384, allocations: 4.359 kB / 0.8264 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.1384, allocations: 8.375 kB / 0.8264 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.1386, allocations: 77.97 kB / 0.8265 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1386, allocations: 0 / 0.8265 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1386, allocations: 0 / 0.8265 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1386, allocations: 4 kB / 0.8265 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.1388, allocations: 47.95 kB / 0.8266 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.1391, allocations: 251.9 kB / 0.8268 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.1392, allocations: 62.48 kB / 0.8269 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.266e-05/0.1393, allocations: 44.91 kB / 0.8269 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.004e-06/0.1393, allocations: 0 / 0.8269 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.1393, allocations: 34.56 kB / 0.8269 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1393, allocations: 0 / 0.8269 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003663/0.1397, allocations: 191.2 kB / 0.8271 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.1398, allocations: 77.11 kB / 0.8272 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1399, allocations: 133.7 kB / 0.8273 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1399, allocations: 25.7 kB / 0.8274 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.1399, allocations: 88.14 kB / 0.8274 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.1399, allocations: 3.953 kB / 0.8274 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.14, allocations: 25.66 kB / 0.8275 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1401, allocations: 322.9 kB / 0.8278 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-05/0.1402, allocations: 51.97 kB / 0.8278 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-05/0.1403, allocations: 63.95 kB / 0.8279 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.1405, allocations: 193.8 kB / 0.8281 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1405, allocations: 4 kB / 0.8281 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002845/0.1408, allocations: 216.9 kB / 0.8283 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.1409, allocations: 67.39 kB / 0.8283 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1409, allocations: 0 / 0.8283 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1409, allocations: 4 kB / 0.8283 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.707e-05/0.1409, allocations: 4 kB / 0.8284 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.1409, allocations: 0 / 0.8284 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.141, allocations: 7.938 kB / 0.8284 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.141, allocations: 7.969 kB / 0.8284 GB, free: 12.22 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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.0001007/0.1411, allocations: 147.5 kB / 0.8285 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.1411, allocations: 7.953 kB / 0.8285 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.1411, allocations: 11.98 kB / 0.8285 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1411, allocations: 8 kB / 0.8285 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1412, allocations: 0 / 0.8285 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1412, allocations: 0 / 0.8285 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.1413, allocations: 144.7 kB / 0.8287 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1413, allocations: 0 / 0.8287 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.64e-05/0.1413, allocations: 4 kB / 0.8287 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1413, allocations: 0 / 0.8287 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1414, allocations: 8.062 kB / 0.8287 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1414, allocations: 0 / 0.8287 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1414, allocations: 0 / 0.8287 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.1416, allocations: 249.1 kB / 0.8289 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.1416, allocations: 11.89 kB / 0.8289 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.1417, allocations: 7.984 kB / 0.8289 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.1417, allocations: 4.234 kB / 0.8289 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/0.1418, allocations: 7.984 kB / 0.829 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-06/0.1418, allocations: 0 / 0.829 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.327e-05/0.1419, allocations: 103.6 kB / 0.8291 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1419, allocations: 4.031 kB / 0.8291 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000295/0.1422, allocations: 55.88 kB / 0.8291 GB, free: 11.38 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0002504/0.1424, allocations: 155.8 kB / 0.8293 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003115/0.1427, allocations: 230.7 kB / 0.8295 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1427, allocations: 0 / 0.8295 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.1429, allocations: 103.3 kB / 0.8296 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.1431, allocations: 11.98 kB / 0.8296 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.1434, allocations: 177.5 kB / 0.8298 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.1437, allocations: 0.6885 MB / 0.8304 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.444e-05/0.1437, allocations: 4 kB / 0.8304 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.1437, allocations: 7.438 kB / 0.8304 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.1437, allocations: 0 / 0.8304 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of Templates: time 0.004452/0.1482, allocations: 1.78 MB / 0.8322 GB, free: 8.172 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.293452528996568] Failed to read output from testmodel.py, exit status != 0: 0.15522115399653558 0.169588457 0.028985065 Calling exit ...