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.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.0007813/0.0007813, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007411/0.0007411, allocations: 174.3 kB / 23.21 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.8509/0.8509, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.00135/0.00135, allocations: 234.6 kB / 260.2 MB, free: 13.04 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.6638/0.6638, allocations: 138.4 MB / 455.1 MB, free: 29.96 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.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 1.092e-06/1.092e-06, allocations: 0 / 0.6476 GB, free: 1.277 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.514e-05, allocations: 5.234 kB / 0.6476 GB, free: 1.273 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.2447/0.2447, allocations: 1.517 MB / 0.6491 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.2458, allocations: 0.7067 MB / 0.6498 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.37e-05/0.2458, allocations: 0.8438 kB / 0.6498 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.2461, allocations: 139.4 kB / 0.6499 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.309e-05/0.2462, allocations: 71.72 kB / 0.65 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006013/0.2468, allocations: 184.4 kB / 0.6501 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.2469, allocations: 66.27 kB / 0.6502 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.2469, allocations: 2.672 kB / 0.6502 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.034e-05/0.247, allocations: 44.8 kB / 0.6502 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.2471, allocations: 88.44 kB / 0.6503 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.2472, allocations: 2.281 kB / 0.6503 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003354/0.2475, allocations: 239.5 kB / 0.6506 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.093e-05/0.2476, allocations: 64.31 kB / 0.6506 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.2476, allocations: 31.88 kB / 0.6506 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.248, allocations: 311.1 kB / 0.6509 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.248, allocations: 0 / 0.6509 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.653e-06/0.248, allocations: 0.9375 kB / 0.6509 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.248, allocations: 0 / 0.6509 GB, free: 56.12 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004588/0.2484, allocations: 444.1 kB / 0.6514 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2485, allocations: 11.62 kB / 0.6514 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.2485, allocations: 26.25 kB / 0.6514 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.2487, allocations: 202 kB / 0.6516 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.2487, allocations: 1.938 kB / 0.6516 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.2487, allocations: 2.062 kB / 0.6516 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.2488, allocations: 76.94 kB / 0.6517 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2488, allocations: 0.8438 kB / 0.6517 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.2488, allocations: 1.781 kB / 0.6517 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2488, allocations: 3.938 kB / 0.6517 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.2489, allocations: 88.75 kB / 0.6518 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.2493, allocations: 335.5 kB / 0.6521 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.2494, allocations: 90.36 kB / 0.6522 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.911e-05/0.2495, allocations: 49.33 kB / 0.6522 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.034e-05/0.2495, allocations: 22.31 kB / 0.6522 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.2495, allocations: 36.88 kB / 0.6523 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2495, allocations: 1.875 kB / 0.6523 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002806/0.2498, allocations: 176.5 kB / 0.6524 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.2498, allocations: 55.53 kB / 0.6525 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.2501, allocations: 359.6 kB / 0.6528 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.2501, allocations: 29.55 kB / 0.6529 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.2501, allocations: 138 kB / 0.653 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.108e-05/0.2501, allocations: 9.578 kB / 0.653 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.2502, allocations: 27.27 kB / 0.653 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.2502, allocations: 342.3 kB / 0.6534 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.549e-05/0.2503, allocations: 92.98 kB / 0.6534 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.478e-05/0.2504, allocations: 95.52 kB / 0.6535 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.2506, allocations: 204.8 kB / 0.6537 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2506, allocations: 0 / 0.6537 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000232/0.2508, allocations: 261.4 kB / 0.654 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2508, allocations: 11.19 kB / 0.654 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.2508, allocations: 0 / 0.654 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.2508, allocations: 1.75 kB / 0.654 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/0.2509, allocations: 12.84 kB / 0.654 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2509, allocations: 1.188 kB / 0.654 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/0.2509, allocations: 17.44 kB / 0.654 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.2509, allocations: 0 / 0.654 GB, free: 54.52 MB / 0.5573 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 6.494e-05/0.251, allocations: 142.2 kB / 0.6542 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.251, allocations: 26.89 kB / 0.6542 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.2512, allocations: 146.7 kB / 0.6543 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2512, allocations: 0.8125 kB / 0.6543 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.2512, allocations: 1.625 kB / 0.6543 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2512, allocations: 0 / 0.6543 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.2513, allocations: 182.6 kB / 0.6545 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2513, allocations: 0 / 0.6545 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/0.2514, allocations: 18.55 kB / 0.6545 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2514, allocations: 2.266 kB / 0.6545 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.2514, allocations: 3.938 kB / 0.6545 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.2514, allocations: 0 / 0.6545 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2514, allocations: 1.719 kB / 0.6545 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.2515, allocations: 227.3 kB / 0.6547 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.72e-05/0.2515, allocations: 25.83 kB / 0.6548 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.2516, allocations: 5.438 kB / 0.6548 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.015e-05/0.2516, allocations: 10.11 kB / 0.6548 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.2516, allocations: 7.656 kB / 0.6548 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.2516, allocations: 4.406 kB / 0.6548 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001558/0.2518, allocations: 250.3 kB / 0.655 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2518, allocations: 0 / 0.655 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002283/0.252, allocations: 69.95 kB / 0.6551 GB, free: 53.98 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: 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.0002082/0.2522, allocations: 166.7 kB / 0.6553 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001878/0.2524, allocations: 139.8 kB / 0.6554 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2524, allocations: 7.281 kB / 0.6554 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.437e-05/0.2525, allocations: 42.03 kB / 0.6554 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.2527, allocations: 13.25 kB / 0.6555 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.2531, allocations: 415.1 kB / 0.6559 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.146e-05/0.2532, allocations: 126 kB / 0.656 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.2532, allocations: 15 kB / 0.656 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of SimCode: time 6.91e-07/0.2532, allocations: 0 / 0.656 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of Templates: time 0.003492/0.2567, allocations: 2.498 MB / 0.6584 GB, free: 53.36 MB / 0.5573 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.286257957108319] Failed to read output from testmodel.py, exit status != 0: 0.2619569003582001 0.268034257 0.018742926 Calling exit ...