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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 111.2 kB / 16.42 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 190.7 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00198/0.00198, allocations: 280 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8803/0.8803, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001728, allocations: 103.8 kB / 0.6822 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.364, allocations: 86.97 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001431/0.3655, allocations: 0.5785 MB / 0.7677 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001986/0.3657, allocations: 39.88 kB / 0.7677 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.702e-05/0.3657, allocations: 0 / 0.7677 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.156e-05/0.3657, allocations: 0 / 0.7677 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.044e-05/0.3658, allocations: 0 / 0.7677 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.366, allocations: 11.98 kB / 0.7677 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.433e-05/0.366, allocations: 4 kB / 0.7677 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.3661, allocations: 4 kB / 0.7677 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.414e-05/0.3661, allocations: 0 / 0.7677 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.661e-05/0.3661, allocations: 7.938 kB / 0.7677 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.3661, allocations: 0 / 0.7677 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-05/0.3662, allocations: 27.97 kB / 0.7678 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.699e-05/0.3663, allocations: 7.984 kB / 0.7678 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.3663, allocations: 3.938 kB / 0.7678 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.285e-05/0.3664, allocations: 19.98 kB / 0.7678 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3664, allocations: 7.875 kB / 0.7678 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3664, allocations: 0 / 0.7678 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.3664, allocations: 0 / 0.7678 GB, free: 3.238 MB / 0.5294 GB 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.0002799/0.3667, allocations: 352.9 kB / 0.7681 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.3667, allocations: 8.031 kB / 0.7681 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.3667, allocations: 8.844 kB / 0.7681 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.445e-05/0.3668, allocations: 164.4 kB / 0.7683 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3669, allocations: 8.297 kB / 0.7683 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.3669, allocations: 384 / 0.7683 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.367, allocations: 58.23 kB / 0.7684 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.367, allocations: 192 / 0.7684 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.367, allocations: 7.938 kB / 0.7684 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.367, allocations: 4 kB / 0.7684 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.393e-05/0.3671, allocations: 31.92 kB / 0.7684 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.3674, allocations: 264.9 kB / 0.7687 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.264e-05/0.3674, allocations: 18.58 kB / 0.7687 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.3674, allocations: 8.922 kB / 0.7687 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-06/0.3674, allocations: 0 / 0.7687 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.3675, allocations: 34.56 kB / 0.7687 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.3675, allocations: 0 / 0.7687 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001461/0.3676, allocations: 71.36 kB / 0.7688 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.3677, allocations: 85.11 kB / 0.7689 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.653e-05/0.3677, allocations: 117.8 kB / 0.769 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.3678, allocations: 25.7 kB / 0.769 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.3678, allocations: 106.3 kB / 0.7691 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.303e-06/0.3678, allocations: 3.906 kB / 0.7691 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.3679, allocations: 21.72 kB / 0.7691 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.368, allocations: 322.8 kB / 0.7694 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.368, allocations: 12 kB / 0.7694 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.617e-05/0.368, allocations: 62.8 kB / 0.7695 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.364e-05/0.3681, allocations: 126.2 kB / 0.7696 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3681, allocations: 0 / 0.7696 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001367/0.3683, allocations: 123.3 kB / 0.7697 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.3683, allocations: 33.7 kB / 0.7698 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3683, allocations: 4 kB / 0.7698 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3683, allocations: 7.922 kB / 0.7698 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.667e-05/0.3684, allocations: 12 kB / 0.7698 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3684, allocations: 3.938 kB / 0.7698 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.963e-05/0.3685, allocations: 11.91 kB / 0.7698 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.3685, allocations: 4 kB / 0.7698 GB, free: 0.8477 MB / 0.5294 GB 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 8.766e-05/0.3686, allocations: 154 kB / 0.77 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.3686, allocations: 4 kB / 0.77 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.867e-06/0.3686, allocations: 3.531 kB / 0.77 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-06/0.3686, allocations: 0 / 0.77 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3687, allocations: 0 / 0.77 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.3687, allocations: 85.05 kB / 0.7701 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.3687, allocations: 3.938 kB / 0.7701 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.265e-05/0.3688, allocations: 3.984 kB / 0.7701 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.976e-06/0.3688, allocations: 0 / 0.7701 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001053/0.3689, allocations: 210 kB / 0.7703 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001182/0.369, allocations: 244.4 kB / 0.7705 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.519e-05/0.369, allocations: 4 kB / 0.7705 GB, free: 72 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.861e-05/0.3691, allocations: 91.2 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of Backend: time 2.31e-07/0.3691, allocations: 4 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003808/0.3695, allocations: 173.7 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of SimCode: time 0.000336/0.3698, allocations: 0.6068 MB / 0.7713 GB, free: 15.12 MB / 0.545 GB Notification: Performance of Templates: time 0.002358/0.3722, allocations: 0.5397 MB / 0.7719 GB, free: 14.59 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)