Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.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.001257/0.001257, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001045/0.001045, allocations: 173 kB / 23.02 MB, free: 1.547 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.9841/0.9841, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001622/0.001622, allocations: 238 kB / 260.2 MB, free: 12.81 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.747/0.747, allocations: 138.4 MB / 455.2 MB, free: 30.02 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.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5551 GB, free: 100 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.851e-05, allocations: 2.312 kB / 0.5551 GB, free: 96 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001357/0.001385, allocations: 0.6005 MB / 0.5557 GB, free: 15.49 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002051/0.00159, allocations: 31.89 kB / 0.5558 GB, free: 15.46 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.392e-05/0.001604, allocations: 0 / 0.5558 GB, free: 15.46 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.001623, allocations: 0 / 0.5558 GB, free: 15.46 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.773e-06/0.00163, allocations: 0 / 0.5558 GB, free: 15.46 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.001942, allocations: 23.91 kB / 0.5558 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.261e-05/0.001984, allocations: 0 / 0.5558 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.002019, allocations: 4 kB / 0.5558 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.661e-05/0.002046, allocations: 4 kB / 0.5558 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.307e-05/0.002069, allocations: 3.938 kB / 0.5558 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.00208, allocations: 0 / 0.5558 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.407e-05/0.002164, allocations: 19.97 kB / 0.5558 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.387e-06/0.002174, allocations: 0 / 0.5558 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.379e-05/0.002187, allocations: 0 / 0.5558 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.278e-05/0.00228, allocations: 27.89 kB / 0.5558 GB, free: 15.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.002283, allocations: 0 / 0.5558 GB, free: 15.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.002284, allocations: 0 / 0.5558 GB, free: 15.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.002287, allocations: 0 / 0.5558 GB, free: 15.38 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002632/0.002551, allocations: 336.4 kB / 0.5562 GB, free: 15.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.002589, allocations: 13.94 kB / 0.5562 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.002625, allocations: 0.9375 kB / 0.5562 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.132e-05/0.002686, allocations: 112.5 kB / 0.5563 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.002701, allocations: 4.375 kB / 0.5563 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.00271, allocations: 4.375 kB / 0.5563 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.785e-05/0.002788, allocations: 30.27 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.002795, allocations: 192 / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.002803, allocations: 384 / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.002811, allocations: 384 / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.558e-05/0.002827, allocations: 15.92 kB / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.465e-05/0.002921, allocations: 104.6 kB / 0.5564 GB, free: 14.67 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.018e-05/0.002961, allocations: 35.02 kB / 0.5565 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.461e-05/0.002976, allocations: 7.688 kB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.003009, allocations: 0 / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.00303, allocations: 41.45 kB / 0.5565 GB, free: 14.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.00303, allocations: 0 / 0.5565 GB, free: 14.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001152/0.003146, allocations: 29.7 kB / 0.5566 GB, free: 14.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.003174, allocations: 55.34 kB / 0.5566 GB, free: 14.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.435e-05/0.003209, allocations: 146.4 kB / 0.5567 GB, free: 14.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.003218, allocations: 33.64 kB / 0.5568 GB, free: 14.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.538e-05/0.003243, allocations: 126.9 kB / 0.5569 GB, free: 14.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.003269, allocations: 8.266 kB / 0.5569 GB, free: 14.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.003292, allocations: 15.38 kB / 0.5569 GB, free: 14.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.003405, allocations: 0.4922 MB / 0.5574 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.003416, allocations: 0 / 0.5574 GB, free: 13.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.07e-06/0.003421, allocations: 0 / 0.5574 GB, free: 13.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.002e-05/0.003451, allocations: 11.69 kB / 0.5574 GB, free: 13.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.003453, allocations: 0 / 0.5574 GB, free: 13.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.252e-05/0.003496, allocations: 41.75 kB / 0.5574 GB, free: 13.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.003507, allocations: 4 kB / 0.5575 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.003512, allocations: 0 / 0.5575 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.003523, allocations: 0 / 0.5575 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.805e-05/0.003581, allocations: 7.938 kB / 0.5575 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.003586, allocations: 0 / 0.5575 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.134e-05/0.003597, allocations: 7.891 kB / 0.5575 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.003609, allocations: 0 / 0.5575 GB, free: 13.52 MB / 490.7 MB 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 (1): * Single equations (assignments): 1 * 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 5.595e-05/0.003665, allocations: 160.6 kB / 0.5576 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-06/0.003669, allocations: 0 / 0.5576 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.857e-05/0.003747, allocations: 40.72 kB / 0.5577 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.003749, allocations: 0 / 0.5577 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.003752, allocations: 0 / 0.5577 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.003755, allocations: 4 kB / 0.5577 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.953e-05/0.003804, allocations: 108.6 kB / 0.5578 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.003805, allocations: 0 / 0.5578 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.003818, allocations: 7.984 kB / 0.5578 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.00382, allocations: 0 / 0.5578 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.003826, allocations: 4.031 kB / 0.5578 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.003827, allocations: 0 / 0.5578 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.003829, allocations: 3.938 kB / 0.5578 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.82e-05/0.003877, allocations: 72.39 kB / 0.5579 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-06/0.003881, allocations: 3.984 kB / 0.5579 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-06/0.003889, allocations: 4 kB / 0.5579 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-06/0.003894, allocations: 0 / 0.5579 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.003907, allocations: 7.938 kB / 0.5579 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.003911, allocations: 0 / 0.5579 GB, free: 13.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.523e-05/0.003936, allocations: 119.2 kB / 0.558 GB, free: 12.92 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003936, allocations: 0 / 0.558 GB, free: 12.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000124/0.00406, allocations: 8.031 kB / 0.558 GB, free: 12.91 MB / 490.7 MB 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 (1): * Single equations (assignments): 1 * 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.0001092/0.004169, allocations: 103.2 kB / 0.5581 GB, free: 12.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.533e-05/0.004244, allocations: 27.61 kB / 0.5581 GB, free: 12.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.004246, allocations: 0 / 0.5581 GB, free: 12.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.773e-06/0.004253, allocations: 7.688 kB / 0.5581 GB, free: 12.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.576e-05/0.004348, allocations: 4 kB / 0.5581 GB, free: 12.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001787/0.004527, allocations: 88 kB / 0.5582 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.698e-05/0.004554, allocations: 55.48 kB / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.032e-05/0.004574, allocations: 3.984 kB / 0.5583 GB, free: 12.56 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.004595, allocations: 12.5 kB / 0.5583 GB, free: 12.55 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.004595, allocations: 0 / 0.5583 GB, free: 12.55 MB / 490.7 MB Notification: Performance of Templates: time 0.001862/0.006458, allocations: 341.6 kB / 0.5586 GB, free: 12.23 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6378133413381875]