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.001494/0.001494, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.0016/0.0016, allocations: 193.6 kB / 22.17 MB, free: 5.656 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.347/1.347, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.002476/0.002476, allocations: 280 kB / 306.4 MB, free: 8.484 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.175/1.175, allocations: 180.9 MB / 0.5298 GB, free: 14.62 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.002671/0.002671, allocations: 105.4 kB / 0.7306 GB, free: 39.06 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1469, allocations: 94.15 MB / 0.8226 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002607/0.1495, allocations: 1.522 MB / 0.824 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1507, allocations: 0.7533 MB / 0.8248 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.611e-05/0.1507, allocations: 4 kB / 0.8248 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.151, allocations: 123.9 kB / 0.8249 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.1511, allocations: 75.77 kB / 0.825 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005702/0.1516, allocations: 187.5 kB / 0.8251 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.1517, allocations: 63.81 kB / 0.8252 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.1518, allocations: 0 / 0.8252 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.547e-05/0.1518, allocations: 43.88 kB / 0.8252 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.152, allocations: 87.83 kB / 0.8253 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.152, allocations: 4 kB / 0.8253 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003717/0.1523, allocations: 239.6 kB / 0.8256 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.741e-05/0.1524, allocations: 59.83 kB / 0.8256 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.837e-05/0.1525, allocations: 59.48 kB / 0.8257 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.1528, allocations: 275 kB / 0.8259 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1528, allocations: 0 / 0.8259 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1528, allocations: 0 / 0.8259 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1529, allocations: 0 / 0.8259 GB, free: 14.9 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006938/0.1535, allocations: 0.5096 MB / 0.8264 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1536, allocations: 8.031 kB / 0.8264 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.1536, allocations: 20.8 kB / 0.8265 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.1539, allocations: 263.8 kB / 0.8267 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1539, allocations: 4.375 kB / 0.8267 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.1539, allocations: 4.375 kB / 0.8267 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.1541, allocations: 77.97 kB / 0.8268 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1541, allocations: 0 / 0.8268 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1542, allocations: 4 kB / 0.8268 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.1542, allocations: 0 / 0.8268 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.1544, allocations: 83.92 kB / 0.8269 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/0.1549, allocations: 408.6 kB / 0.8273 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.1551, allocations: 86.52 kB / 0.8274 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.1552, allocations: 48.89 kB / 0.8274 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.646e-05/0.1552, allocations: 23.73 kB / 0.8274 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.1553, allocations: 34.56 kB / 0.8275 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1553, allocations: 0 / 0.8275 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004301/0.1557, allocations: 185.3 kB / 0.8276 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.1557, allocations: 51.41 kB / 0.8277 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.1561, allocations: 355.2 kB / 0.828 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1561, allocations: 25.7 kB / 0.828 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.1562, allocations: 140.2 kB / 0.8282 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.1562, allocations: 7.938 kB / 0.8282 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.1563, allocations: 29.7 kB / 0.8282 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1564, allocations: 334.8 kB / 0.8285 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.1566, allocations: 95.95 kB / 0.8286 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.1567, allocations: 99.88 kB / 0.8287 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.157, allocations: 207.9 kB / 0.8289 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.157, allocations: 4 kB / 0.8289 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003577/0.1574, allocations: 253.4 kB / 0.8292 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1574, allocations: 8 kB / 0.8292 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1574, allocations: 0 / 0.8292 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1574, allocations: 0 / 0.8292 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.1575, allocations: 7.984 kB / 0.8292 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1575, allocations: 4 kB / 0.8292 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.318e-05/0.1576, allocations: 19.84 kB / 0.8292 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1576, allocations: 96 / 0.8292 GB, free: 11.33 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: 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.0001148/0.1577, allocations: 145.7 kB / 0.8293 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.1577, allocations: 23.84 kB / 0.8294 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.158, allocations: 150.5 kB / 0.8295 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.158, allocations: 0 / 0.8295 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.158, allocations: 4.031 kB / 0.8295 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.158, allocations: 0 / 0.8295 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.1583, allocations: 241.5 kB / 0.8297 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1583, allocations: 4 kB / 0.8297 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.1584, allocations: 7.984 kB / 0.8298 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1584, allocations: 0 / 0.8298 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.1584, allocations: 3.938 kB / 0.8298 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.1584, allocations: 8 kB / 0.8298 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1584, allocations: 0 / 0.8298 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.1587, allocations: 235.3 kB / 0.83 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.1588, allocations: 101 kB / 0.8301 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.1589, allocations: 4 kB / 0.8301 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.1589, allocations: 3.984 kB / 0.8301 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.159, allocations: 4 kB / 0.8301 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.159, allocations: 0 / 0.8301 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002721/0.1593, allocations: 261.9 kB / 0.8303 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1593, allocations: 0 / 0.8303 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003576/0.1596, allocations: 67.88 kB / 0.8304 GB, free: 9.988 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003254/0.16, allocations: 159 kB / 0.8306 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.1603, allocations: 143.9 kB / 0.8307 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1603, allocations: 0 / 0.8307 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.1604, allocations: 43.97 kB / 0.8307 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.1608, allocations: 16.59 kB / 0.8308 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007812/0.1615, allocations: 389.4 kB / 0.8311 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/0.162, allocations: 0.7392 MB / 0.8319 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.461e-05/0.1621, allocations: 12.56 kB / 0.8319 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.1621, allocations: 11.44 kB / 0.8319 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.1621, allocations: 0 / 0.8319 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of Templates: time 0.006203/0.1683, allocations: 2.124 MB / 0.834 GB, free: 6.309 MB / 0.5762 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.601862906944007] Failed to read output from testmodel.py, exit status != 0: 0.1756445849314332 0.19003734700000002 0.03434103 Calling exit ...