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.001809/0.001809, allocations: 81.19 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002206/0.002206, allocations: 166.8 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.447/1.447, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.002525/0.002525, allocations: 235 kB / 259.4 MB, free: 488 kB / 238.1 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 1.069/1.069, allocations: 138.4 MB / 454.3 MB, free: 1.953 MB / 366.1 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.292e-06/1.292e-06, allocations: 0 / 0.6468 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.279e-05, allocations: 9.938 kB / 0.6469 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002512/0.002535, allocations: 1.524 MB / 0.6483 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.003785, allocations: 0.7166 MB / 0.649 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.003817, allocations: 0 / 0.649 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.004044, allocations: 131.7 kB / 0.6492 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.00415, allocations: 71.83 kB / 0.6492 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006253/0.004776, allocations: 198.6 kB / 0.6494 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.004894, allocations: 71.73 kB / 0.6495 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.004929, allocations: 7.938 kB / 0.6495 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.835e-05/0.004997, allocations: 39.94 kB / 0.6495 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.005124, allocations: 87.83 kB / 0.6496 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.005142, allocations: 4 kB / 0.6496 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004408/0.005582, allocations: 239.6 kB / 0.6499 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.775e-05/0.00568, allocations: 59.84 kB / 0.6499 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.005729, allocations: 27.86 kB / 0.6499 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.006158, allocations: 307.2 kB / 0.6502 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.00616, allocations: 0 / 0.6502 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.41e-07/0.006161, allocations: 3.938 kB / 0.6502 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.006165, allocations: 0 / 0.6502 GB, free: 1.457 MB / 0.5606 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.0006786/0.006844, allocations: 444.8 kB / 0.6507 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.006879, allocations: 13.34 kB / 0.6507 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.006932, allocations: 24.78 kB / 0.6507 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.00719, allocations: 205.9 kB / 0.6509 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-06/0.007197, allocations: 384 / 0.6509 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.007212, allocations: 4.375 kB / 0.6509 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.007405, allocations: 74.22 kB / 0.651 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.007413, allocations: 192 / 0.651 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.007422, allocations: 384 / 0.651 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.007431, allocations: 7.938 kB / 0.651 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.00765, allocations: 87.92 kB / 0.6511 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.00817, allocations: 328.5 kB / 0.6514 GB, free: 204 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.008349, allocations: 94.45 kB / 0.6515 GB, free: 100 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.008462, allocations: 48.89 kB / 0.6515 GB, free: 48 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.625e-05/0.008508, allocations: 23.97 kB / 0.6515 GB, free: 24 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2457/0.2542, allocations: 34.31 kB / 0.6516 GB, free: 56.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 2.615e-06/0.2542, allocations: 0.5312 kB / 0.6516 GB, free: 56.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004884/0.2547, allocations: 178.8 kB / 0.6517 GB, free: 56.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.2547, allocations: 52.91 kB / 0.6518 GB, free: 56.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.255, allocations: 357.4 kB / 0.6521 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.255, allocations: 26.5 kB / 0.6521 GB, free: 56.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.2551, allocations: 137.4 kB / 0.6523 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.2551, allocations: 6.406 kB / 0.6523 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.2551, allocations: 28 kB / 0.6523 GB, free: 56.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/0.2552, allocations: 338.1 kB / 0.6526 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.2553, allocations: 90.42 kB / 0.6527 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.2554, allocations: 101.4 kB / 0.6528 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.2557, allocations: 209.2 kB / 0.653 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2557, allocations: 0 / 0.653 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002912/0.256, allocations: 260.2 kB / 0.6533 GB, free: 56.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.256, allocations: 8.688 kB / 0.6533 GB, free: 56.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.256, allocations: 0 / 0.6533 GB, free: 56.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.256, allocations: 0.8438 kB / 0.6533 GB, free: 56.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.028e-05/0.2561, allocations: 10.47 kB / 0.6533 GB, free: 56.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.2561, allocations: 1.641 kB / 0.6533 GB, free: 56.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.475e-05/0.2562, allocations: 12.88 kB / 0.6533 GB, free: 56.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.2562, allocations: 3.5 kB / 0.6533 GB, free: 56.26 MB / 0.5606 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 7.65e-05/0.2562, allocations: 145.9 kB / 0.6534 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.2563, allocations: 22.98 kB / 0.6535 GB, free: 56.13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.2565, allocations: 142.3 kB / 0.6536 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2565, allocations: 0 / 0.6536 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2565, allocations: 7.234 kB / 0.6536 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2565, allocations: 0 / 0.6536 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.2567, allocations: 189.6 kB / 0.6538 GB, free: 55.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2567, allocations: 0.625 kB / 0.6538 GB, free: 55.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.524e-05/0.2567, allocations: 12.97 kB / 0.6538 GB, free: 55.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.2567, allocations: 3.938 kB / 0.6538 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.2568, allocations: 9.188 kB / 0.6538 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2568, allocations: 2.5 kB / 0.6538 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2568, allocations: 0.6562 kB / 0.6538 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.257, allocations: 228.9 kB / 0.654 GB, free: 55.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.257, allocations: 31.78 kB / 0.6541 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.2571, allocations: 0 / 0.6541 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.74e-05/0.2571, allocations: 7.469 kB / 0.6541 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.2572, allocations: 6 kB / 0.6541 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.2572, allocations: 2.406 kB / 0.6541 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001734/0.2574, allocations: 250.3 kB / 0.6543 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2574, allocations: 3.812 kB / 0.6543 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003462/0.2577, allocations: 67.72 kB / 0.6544 GB, free: 55.73 MB / 0.5606 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.0002607/0.258, allocations: 161.1 kB / 0.6545 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.2582, allocations: 144.4 kB / 0.6547 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2582, allocations: 0 / 0.6547 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.781e-05/0.2583, allocations: 47.67 kB / 0.6547 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.2586, allocations: 12.34 kB / 0.6547 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.2591, allocations: 382.7 kB / 0.6551 GB, free: 55.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.2592, allocations: 126.4 kB / 0.6552 GB, free: 55.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.845e-05/0.2593, allocations: 16.53 kB / 0.6552 GB, free: 55.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.2593, allocations: 18.91 kB / 0.6553 GB, free: 55.38 MB / 0.5606 GB Notification: Performance of SimCode: time 3.7e-07/0.2593, allocations: 0 / 0.6553 GB, free: 55.38 MB / 0.5606 GB Notification: Performance of Templates: time 0.00497/0.2643, allocations: 2.136 MB / 0.6573 GB, free: 55.29 MB / 0.5606 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.776801712810993] Failed to read output from testmodel.py, exit status != 0: 0.2717052660882473 0.281429822 0.27297519400000003 Calling exit ...