Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.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.00123/0.00123, allocations: 106.3 kB / 18.71 MB, free: 3.266 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.001279/0.001279, allocations: 200.4 kB / 21.97 MB, free: 12 kB / 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.338/1.338, allocations: 225.6 MB / 250.7 MB, free: 13.39 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.002383/0.002383, allocations: 287.9 kB / 306.1 MB, free: 8.59 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.126/1.126, allocations: 180.9 MB / 0.5295 GB, free: 14.57 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.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 104.1 kB / 0.7301 GB, free: 39.39 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1423, allocations: 94.16 MB / 0.8221 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002567/0.1449, allocations: 1.516 MB / 0.8236 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.1461, allocations: 0.7572 MB / 0.8243 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.1461, allocations: 0 / 0.8243 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.1463, allocations: 131.8 kB / 0.8244 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.495e-05/0.1464, allocations: 67.83 kB / 0.8245 GB, free: 196 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.147, allocations: 191.5 kB / 0.8247 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.1471, allocations: 55.89 kB / 0.8247 GB, free: 15.95 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.1472, allocations: 3.938 kB / 0.8247 GB, free: 15.95 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 5.932e-05/0.1472, allocations: 43.88 kB / 0.8248 GB, free: 15.9 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.1473, allocations: 91.83 kB / 0.8249 GB, free: 15.81 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.1473, allocations: 3.938 kB / 0.8249 GB, free: 15.81 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003712/0.1477, allocations: 235.7 kB / 0.8251 GB, free: 15.58 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.1478, allocations: 67.83 kB / 0.8251 GB, free: 15.51 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 6.736e-05/0.1479, allocations: 55.48 kB / 0.8252 GB, free: 15.46 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.1482, allocations: 267 kB / 0.8255 GB, free: 15.2 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1482, allocations: 0 / 0.8255 GB, free: 15.2 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1482, allocations: 0 / 0.8255 GB, free: 15.2 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.1482, allocations: 0 / 0.8255 GB, free: 15.2 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006835/0.1489, allocations: 0.5057 MB / 0.8259 GB, free: 14.64 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1489, allocations: 8.031 kB / 0.826 GB, free: 14.63 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.149, allocations: 24.8 kB / 0.826 GB, free: 14.61 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.1493, allocations: 275.8 kB / 0.8262 GB, free: 14.3 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1493, allocations: 384 / 0.8262 GB, free: 14.3 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.1493, allocations: 384 / 0.8262 GB, free: 14.3 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.1495, allocations: 81.97 kB / 0.8263 GB, free: 14.21 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1495, allocations: 0 / 0.8263 GB, free: 14.21 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1495, allocations: 0 / 0.8263 GB, free: 14.21 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1495, allocations: 3.938 kB / 0.8263 GB, free: 14.21 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.1497, allocations: 87.92 kB / 0.8264 GB, free: 14.12 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.1503, allocations: 396.7 kB / 0.8268 GB, free: 13.69 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.1504, allocations: 90.53 kB / 0.8269 GB, free: 13.59 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.1505, allocations: 52.88 kB / 0.8269 GB, free: 13.54 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.1506, allocations: 19.73 kB / 0.8269 GB, free: 13.52 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1506, allocations: 38.5 kB / 0.827 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1506, allocations: 0 / 0.827 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0004339/0.151, allocations: 177.4 kB / 0.8271 GB, free: 13.29 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.1511, allocations: 55.41 kB / 0.8272 GB, free: 13.22 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/0.1515, allocations: 359.2 kB / 0.8275 GB, free: 12.86 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1515, allocations: 29.83 kB / 0.8276 GB, free: 12.83 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 9.604e-05/0.1516, allocations: 132.1 kB / 0.8277 GB, free: 12.7 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.1516, allocations: 3.953 kB / 0.8277 GB, free: 12.69 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/0.1516, allocations: 33.7 kB / 0.8277 GB, free: 12.65 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1518, allocations: 334.8 kB / 0.8281 GB, free: 12.32 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.1519, allocations: 95.94 kB / 0.8281 GB, free: 12.22 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.1521, allocations: 91.95 kB / 0.8282 GB, free: 12.13 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.1524, allocations: 216.7 kB / 0.8284 GB, free: 11.92 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.1524, allocations: 3.938 kB / 0.8284 GB, free: 11.91 MB / 0.5763 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003774/0.1528, allocations: 255.7 kB / 0.8287 GB, free: 11.66 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1528, allocations: 4 kB / 0.8287 GB, free: 11.66 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1528, allocations: 0 / 0.8287 GB, free: 11.66 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1528, allocations: 0 / 0.8287 GB, free: 11.66 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.609e-05/0.1529, allocations: 11.98 kB / 0.8287 GB, free: 11.64 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1529, allocations: 4 kB / 0.8287 GB, free: 11.64 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.527e-05/0.153, allocations: 19.83 kB / 0.8287 GB, free: 11.62 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.153, allocations: 4 kB / 0.8287 GB, free: 11.62 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001214/0.1531, allocations: 141.8 kB / 0.8289 GB, free: 11.47 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.1531, allocations: 23.86 kB / 0.8289 GB, free: 11.45 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.1534, allocations: 146.5 kB / 0.829 GB, free: 11.29 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1535, allocations: 0 / 0.829 GB, free: 11.29 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1535, allocations: 0 / 0.829 GB, free: 11.29 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 9.123e-05/0.1535, allocations: 105 kB / 0.8291 GB, free: 11.17 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.1536, allocations: 0 / 0.8291 GB, free: 11.17 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.1537, allocations: 12.08 kB / 0.8291 GB, free: 11.16 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.1537, allocations: 11.86 kB / 0.8291 GB, free: 11.14 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003139/0.154, allocations: 200.9 kB / 0.8293 GB, free: 10.94 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003413/0.1543, allocations: 306.6 kB / 0.8296 GB, free: 10.62 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001203/0.1545, allocations: 47.95 kB / 0.8297 GB, free: 10.58 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0002427/0.1547, allocations: 245.9 kB / 0.8299 GB, free: 10.34 MB / 0.5763 GB Notification: Performance of Backend: time 1.7e-07/0.1547, allocations: 4.062 kB / 0.8299 GB, free: 10.34 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0006663/0.1554, allocations: 234.2 kB / 0.8301 GB, free: 10.1 MB / 0.5763 GB Notification: Performance of SimCode: time 0.0007996/0.1562, allocations: 0.8137 MB / 0.8309 GB, free: 9.238 MB / 0.5763 GB Notification: Performance of Templates: time 0.005497/0.1617, allocations: 2.294 MB / 0.8332 GB, free: 6.949 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.538052471820265] Failed to read output from testmodel.py, exit status != 0: 0.16866533388383687 0.18288284200000002 0.031738632 Calling exit ...