Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.0008413/0.0008413, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007787/0.0007787, allocations: 173.9 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.8286/0.8286, allocations: 177.2 MB / 203.5 MB, free: 5.734 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.001299/0.001299, allocations: 231.8 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.6489/0.6489, allocations: 138.4 MB / 455.1 MB, free: 30.08 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.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate") translateModel(BuildingSystems.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.895e-06/2.895e-06, allocations: 4 kB / 0.6475 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.329e-05/1.618e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.2228/0.2228, allocations: 1.482 MB / 0.649 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000955/0.2237, allocations: 0.7579 MB / 0.6497 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.696e-05/0.2238, allocations: 0.875 kB / 0.6497 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.224, allocations: 134 kB / 0.6499 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004308/0.2244, allocations: 188.5 kB / 0.65 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.2245, allocations: 71.47 kB / 0.6501 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.642e-05/0.2246, allocations: 66.66 kB / 0.6502 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 7.768e-05/0.2247, allocations: 11.38 kB / 0.6502 GB, free: 56.26 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.497e-05/0.2247, allocations: 43.23 kB / 0.6502 GB, free: 56.26 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.2248, allocations: 85.17 kB / 0.6503 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.2249, allocations: 3.125 kB / 0.6503 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/0.2251, allocations: 246.2 kB / 0.6505 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.2252, allocations: 105.3 kB / 0.6506 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.2253, allocations: 44.94 kB / 0.6507 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.2256, allocations: 354.9 kB / 0.651 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2256, allocations: 0.5312 kB / 0.651 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2256, allocations: 0 / 0.651 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.2256, allocations: 0.5625 kB / 0.651 GB, free: 56.16 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.0004366/0.226, allocations: 0.5011 MB / 0.6515 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.2261, allocations: 13.41 kB / 0.6515 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.2261, allocations: 33.39 kB / 0.6516 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.2263, allocations: 325.5 kB / 0.6519 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.2263, allocations: 2 kB / 0.6519 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.2263, allocations: 384 / 0.6519 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.2264, allocations: 84.83 kB / 0.6519 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.2264, allocations: 192 / 0.6519 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.2264, allocations: 1.188 kB / 0.6519 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2264, allocations: 5.656 kB / 0.652 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.2266, allocations: 106.9 kB / 0.6521 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.2269, allocations: 394 kB / 0.6524 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.227, allocations: 108.1 kB / 0.6525 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.51e-05/0.2271, allocations: 60.03 kB / 0.6526 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.2271, allocations: 19.16 kB / 0.6526 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.2271, allocations: 40.09 kB / 0.6526 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2271, allocations: 0 / 0.6526 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002591/0.2274, allocations: 210.9 kB / 0.6529 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.2274, allocations: 54.25 kB / 0.6529 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.2277, allocations: 0.5426 MB / 0.6534 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.15e-06/0.2277, allocations: 25.7 kB / 0.6535 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.2278, allocations: 161.9 kB / 0.6536 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.229e-05/0.2278, allocations: 6.75 kB / 0.6536 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.2278, allocations: 43.56 kB / 0.6537 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.993e-05/0.2279, allocations: 341.8 kB / 0.654 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-05/0.228, allocations: 93.94 kB / 0.6541 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.404e-05/0.2281, allocations: 97.17 kB / 0.6542 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.2282, allocations: 178.4 kB / 0.6543 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2282, allocations: 1.172 kB / 0.6543 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002145/0.2284, allocations: 271.7 kB / 0.6546 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.2284, allocations: 9.781 kB / 0.6546 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2284, allocations: 0 / 0.6546 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.2284, allocations: 0 / 0.6546 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.054e-05/0.2285, allocations: 26.94 kB / 0.6546 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.2285, allocations: 4.953 kB / 0.6546 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.507e-05/0.2286, allocations: 8.609 kB / 0.6546 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.2286, allocations: 8.062 kB / 0.6547 GB, free: 54.41 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 (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 8.29e-05/0.2287, allocations: 169.7 kB / 0.6548 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.2287, allocations: 32.03 kB / 0.6548 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.2288, allocations: 166 kB / 0.655 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2288, allocations: 0 / 0.655 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2288, allocations: 0 / 0.655 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2288, allocations: 4.422 kB / 0.655 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.229, allocations: 216.4 kB / 0.6552 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.229, allocations: 1.469 kB / 0.6552 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/0.229, allocations: 9.875 kB / 0.6552 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.229, allocations: 1.531 kB / 0.6552 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.229, allocations: 9.938 kB / 0.6552 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.229, allocations: 0 / 0.6552 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.229, allocations: 0 / 0.6552 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.2291, allocations: 256.7 kB / 0.6555 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.2292, allocations: 38.3 kB / 0.6555 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.2292, allocations: 7.875 kB / 0.6555 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-05/0.2292, allocations: 5.469 kB / 0.6555 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.2293, allocations: 3.109 kB / 0.6555 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.2293, allocations: 0 / 0.6555 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002293/0.2295, allocations: 401.5 kB / 0.6559 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2295, allocations: 2.031 kB / 0.6559 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002216/0.2297, allocations: 80.7 kB / 0.656 GB, free: 53.71 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.00018/0.2299, allocations: 167.2 kB / 0.6562 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001887/0.2301, allocations: 160.3 kB / 0.6563 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.71e-07/0.2301, allocations: 0 / 0.6563 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.671e-05/0.2301, allocations: 57.59 kB / 0.6564 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.2304, allocations: 23.08 kB / 0.6564 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.2308, allocations: 0.534 MB / 0.6569 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.086e-05/0.2309, allocations: 159.3 kB / 0.6571 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.231, allocations: 22.48 kB / 0.6571 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of SimCode: time 3.71e-07/0.231, allocations: 1.75 kB / 0.6571 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of Templates: time 0.003562/0.2345, allocations: 3.473 MB / 0.6605 GB, free: 52.9 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.568199757486582] Failed to read output from testmodel.py, exit status != 0: 0.23940095957368612 0.24538113 0.01824459 Calling exit ...