Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.001074/0.001074, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001218/0.001218, allocations: 177.4 kB / 23.36 MB, free: 1.125 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 1.016/1.016, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.00282/0.00282, allocations: 245.1 kB / 260.5 MB, free: 12.68 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.8033/0.8033, allocations: 138.4 MB / 402.2 MB, free: 0.5469 MB / 362.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.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 462.4 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.837e-05, allocations: 5.547 kB / 462.4 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002157/0.002185, allocations: 0.6566 MB / 463.1 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002219/0.002407, allocations: 36.25 kB / 463.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.234e-05/0.002429, allocations: 0 / 463.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.00246, allocations: 0.6562 kB / 463.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.978e-05/0.0025, allocations: 1.062 kB / 463.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.002691, allocations: 15.7 kB / 463.1 MB, free: 488 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.695e-05/0.002768, allocations: 9.25 kB / 463.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.002805, allocations: 3.078 kB / 463.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.691e-05/0.002842, allocations: 3.062 kB / 463.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.699e-05/0.002889, allocations: 3.641 kB / 463.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.002904, allocations: 0 / 463.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.003005, allocations: 28.97 kB / 463.2 MB, free: 472 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.003035, allocations: 4.641 kB / 463.2 MB, free: 472 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.684e-05/0.003052, allocations: 2.406 kB / 463.2 MB, free: 472 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.003161, allocations: 26.42 kB / 463.2 MB, free: 464 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.003164, allocations: 1.406 kB / 463.2 MB, free: 464 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.003166, allocations: 0.7031 kB / 463.2 MB, free: 464 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.00317, allocations: 1.922 kB / 463.2 MB, free: 464 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0001935/0.003364, allocations: 247.1 kB / 463.5 MB, free: 196 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.003397, allocations: 11.59 kB / 463.5 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.003424, allocations: 7.516 kB / 463.5 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.623e-05/0.00346, allocations: 105.1 kB / 463.6 MB, free: 64 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.003469, allocations: 5.656 kB / 463.6 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-06/0.003475, allocations: 6.438 kB / 463.6 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.003576, allocations: 69.75 kB / 463.7 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.003581, allocations: 192 / 463.7 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-06/0.003588, allocations: 384 / 463.7 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/0.003613, allocations: 7.609 kB / 463.7 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.039e-05/0.003643, allocations: 40.75 kB / 463.7 MB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.003848, allocations: 171 kB / 463.9 MB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.133e-05/0.003889, allocations: 51.91 kB / 463.9 MB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.003909, allocations: 33.52 kB / 464 MB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-06/0.003912, allocations: 1.781 kB / 464 MB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.003936, allocations: 36.22 kB / 464 MB, free: 15.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.003937, allocations: 0 / 464 MB, free: 15.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001165/0.004053, allocations: 114.6 kB / 464.1 MB, free: 15.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.004083, allocations: 81.08 kB / 464.2 MB, free: 15.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/0.004153, allocations: 128.5 kB / 464.3 MB, free: 15.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.00416, allocations: 27.05 kB / 464.3 MB, free: 15.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.004204, allocations: 105.5 kB / 464.4 MB, free: 15.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.041e-06/0.00421, allocations: 6.5 kB / 464.4 MB, free: 15.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.004247, allocations: 31.23 kB / 464.5 MB, free: 15.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.854e-05/0.004316, allocations: 313.7 kB / 464.8 MB, free: 14.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.004333, allocations: 32.38 kB / 464.8 MB, free: 14.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.347e-05/0.004377, allocations: 82.33 kB / 464.9 MB, free: 14.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.838e-05/0.004455, allocations: 126.8 kB / 465 MB, free: 14.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.004457, allocations: 2.125 kB / 465 MB, free: 14.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.29e-05/0.00455, allocations: 130.5 kB / 465.1 MB, free: 14.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.004577, allocations: 32.61 kB / 465.2 MB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.004583, allocations: 1.375 kB / 465.2 MB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.004594, allocations: 4.188 kB / 465.2 MB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.259e-05/0.004647, allocations: 20.2 kB / 465.2 MB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.004651, allocations: 3.828 kB / 465.2 MB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.359e-05/0.004695, allocations: 3.812 kB / 465.2 MB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.004707, allocations: 5.438 kB / 465.2 MB, free: 14.42 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.326e-05/0.00477, allocations: 148.2 kB / 465.4 MB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.004787, allocations: 8.25 kB / 465.4 MB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.492e-05/0.004802, allocations: 5.234 kB / 465.4 MB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.004804, allocations: 2.25 kB / 465.4 MB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.004806, allocations: 2.812 kB / 465.4 MB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.004808, allocations: 0 / 465.4 MB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.112e-05/0.004879, allocations: 67.98 kB / 465.4 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.004881, allocations: 0.7969 kB / 465.4 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.004882, allocations: 2.719 kB / 465.4 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.004883, allocations: 0 / 465.4 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-06/0.004887, allocations: 0.7656 kB / 465.4 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.004889, allocations: 7.391 kB / 465.5 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.00489, allocations: 0 / 465.5 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.797e-05/0.004978, allocations: 186.6 kB / 465.6 MB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.004986, allocations: 6.516 kB / 465.6 MB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-06/0.004994, allocations: 1.156 kB / 465.6 MB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.3e-05/0.005027, allocations: 8.062 kB / 465.7 MB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-06/0.005036, allocations: 2.062 kB / 465.7 MB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.005041, allocations: 3.797 kB / 465.7 MB, free: 13.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.459e-05/0.005055, allocations: 10.67 kB / 465.7 MB, free: 13.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005056, allocations: 0 / 465.7 MB, free: 13.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001438/0.005199, allocations: 18.81 kB / 465.7 MB, free: 13.96 MB / 426.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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001214/0.005321, allocations: 84.78 kB / 465.8 MB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.005427, allocations: 139.7 kB / 465.9 MB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.005429, allocations: 0.6562 kB / 465.9 MB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.441e-05/0.005474, allocations: 92.61 kB / 466 MB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001002/0.005574, allocations: 3.422 kB / 466 MB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001812/0.005755, allocations: 144.5 kB / 466.1 MB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.178e-05/0.005787, allocations: 55.19 kB / 466.2 MB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.281e-05/0.00581, allocations: 4.109 kB / 466.2 MB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.381e-05/0.005864, allocations: 58.81 kB / 466.3 MB, free: 13.38 MB / 426.7 MB Notification: Performance of SimCode: time 8.61e-07/0.005864, allocations: 1.562 kB / 466.3 MB, free: 13.38 MB / 426.7 MB Notification: Performance of Templates: time 0.002313/0.008178, allocations: 0.6108 MB / 466.9 MB, free: 13.34 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.670942174270749]