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.001001/0.001002, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001004/0.001004, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.218/1.218, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002002/0.002002, allocations: 280.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8726/0.8726, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 103.8 kB / 0.6822 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3654, allocations: 86.97 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001605/0.3671, allocations: 0.5785 MB / 0.7677 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002085/0.3673, allocations: 43.86 kB / 0.7677 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.3673, allocations: 0 / 0.7677 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.565e-05/0.3674, allocations: 0 / 0.7677 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.184e-05/0.3674, allocations: 4 kB / 0.7677 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.3676, allocations: 15.92 kB / 0.7677 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.655e-05/0.3677, allocations: 4 kB / 0.7677 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.583e-05/0.3677, allocations: 0 / 0.7677 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.573e-05/0.3677, allocations: 0 / 0.7677 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.11e-05/0.3678, allocations: 11.94 kB / 0.7677 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.3678, allocations: 0 / 0.7677 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.006e-05/0.3679, allocations: 19.98 kB / 0.7678 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.026e-05/0.3679, allocations: 11.98 kB / 0.7678 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.3679, allocations: 7.922 kB / 0.7678 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.54e-05/0.368, allocations: 15.98 kB / 0.7678 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.368, allocations: 3.938 kB / 0.7678 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.322e-06/0.368, allocations: 0 / 0.7678 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3681, allocations: 4 kB / 0.7678 GB, free: 3.199 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.0002991/0.3684, allocations: 352.9 kB / 0.7681 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.3684, allocations: 8.031 kB / 0.7681 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.3684, allocations: 4.844 kB / 0.7681 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.722e-05/0.3685, allocations: 164.4 kB / 0.7683 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.3685, allocations: 8.312 kB / 0.7683 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.3686, allocations: 384 / 0.7683 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.3687, allocations: 58.19 kB / 0.7684 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.3687, allocations: 192 / 0.7684 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.3687, allocations: 11.91 kB / 0.7684 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.3687, allocations: 4 kB / 0.7684 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.474e-05/0.3688, allocations: 23.98 kB / 0.7684 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.3691, allocations: 268.9 kB / 0.7687 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.798e-05/0.3691, allocations: 22.52 kB / 0.7687 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.409e-05/0.3692, allocations: 4.859 kB / 0.7687 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.3692, allocations: 0 / 0.7687 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.3692, allocations: 30.56 kB / 0.7687 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.3692, allocations: 0 / 0.7687 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001621/0.3694, allocations: 75.36 kB / 0.7688 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.3694, allocations: 81.23 kB / 0.7689 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.883e-05/0.3695, allocations: 109.8 kB / 0.769 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.3695, allocations: 25.7 kB / 0.769 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.3696, allocations: 114.2 kB / 0.7691 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.064e-06/0.3696, allocations: 3.906 kB / 0.7691 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.3696, allocations: 21.72 kB / 0.7691 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3697, allocations: 322.8 kB / 0.7694 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-05/0.3698, allocations: 7.984 kB / 0.7694 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.802e-05/0.3698, allocations: 62.86 kB / 0.7695 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.3699, allocations: 134.1 kB / 0.7696 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3699, allocations: 0 / 0.7696 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001379/0.3701, allocations: 115.4 kB / 0.7697 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.3701, allocations: 33.7 kB / 0.7698 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3701, allocations: 0 / 0.7698 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3702, allocations: 7.938 kB / 0.7698 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.788e-05/0.3702, allocations: 19.92 kB / 0.7698 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3702, allocations: 4 kB / 0.7698 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.3703, allocations: 7.906 kB / 0.7698 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.3703, allocations: 4 kB / 0.7698 GB, free: 0.8203 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.975e-05/0.3704, allocations: 157.8 kB / 0.77 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.3705, allocations: 4.062 kB / 0.77 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.143e-05/0.3705, allocations: 7.531 kB / 0.77 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3705, allocations: 3.984 kB / 0.77 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3705, allocations: 0 / 0.77 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.3705, allocations: 81.05 kB / 0.7701 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.3705, allocations: 3.938 kB / 0.7701 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.517e-05/0.3706, allocations: 4 kB / 0.7701 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.3706, allocations: 4 kB / 0.7701 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001094/0.3707, allocations: 198 kB / 0.7703 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001235/0.3709, allocations: 252.4 kB / 0.7705 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.607e-05/0.3709, allocations: 4 kB / 0.7705 GB, free: 36 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.961e-05/0.371, allocations: 103.7 kB / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of Backend: time 2.21e-07/0.371, allocations: 0 / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003947/0.3714, allocations: 168.5 kB / 0.7708 GB, free: 15.75 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003646/0.3717, allocations: 0.6029 MB / 0.7714 GB, free: 15.09 MB / 0.545 GB Notification: Performance of Templates: time 0.00246/0.3742, allocations: 0.5351 MB / 0.7719 GB, free: 14.57 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)