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.006069/0.006069, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.001147/0.001147, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002114/0.002114, allocations: 274.2 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9645/0.9645, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 99.86 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.157, allocations: 86.97 MB / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001665/0.1587, allocations: 0.5786 MB / 0.767 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002439/0.159, allocations: 47.86 kB / 0.767 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.198e-05/0.159, allocations: 0 / 0.767 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.1591, allocations: 3.938 kB / 0.767 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.19e-05/0.1591, allocations: 0 / 0.767 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.1593, allocations: 11.98 kB / 0.767 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.281e-05/0.1594, allocations: 8 kB / 0.7671 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.1595, allocations: 3.938 kB / 0.7671 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.76e-05/0.1595, allocations: 11.94 kB / 0.7671 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.744e-05/0.1595, allocations: 0 / 0.7671 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.1596, allocations: 0 / 0.7671 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.617e-05/0.1596, allocations: 15.98 kB / 0.7671 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.1597, allocations: 8 kB / 0.7671 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.1597, allocations: 7.922 kB / 0.7671 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.886e-05/0.1598, allocations: 31.84 kB / 0.7671 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1598, allocations: 0 / 0.7671 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1598, allocations: 0 / 0.7671 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.1598, allocations: 0 / 0.7671 GB, free: 7.691 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003273/0.1602, allocations: 353.2 kB / 0.7675 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1602, allocations: 8.031 kB / 0.7675 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.1603, allocations: 12.89 kB / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.176e-05/0.1604, allocations: 160.4 kB / 0.7676 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1604, allocations: 384 / 0.7676 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.1604, allocations: 384 / 0.7676 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.1605, allocations: 58.25 kB / 0.7677 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.1605, allocations: 4.172 kB / 0.7677 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1605, allocations: 7.938 kB / 0.7677 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.1606, allocations: 4 kB / 0.7677 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.068e-05/0.1606, allocations: 31.92 kB / 0.7677 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.161, allocations: 268.7 kB / 0.768 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.051e-05/0.161, allocations: 22.58 kB / 0.768 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.459e-05/0.161, allocations: 4.922 kB / 0.768 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.615e-06/0.161, allocations: 4 kB / 0.768 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.1611, allocations: 34.56 kB / 0.7681 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1611, allocations: 0 / 0.7681 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001667/0.1613, allocations: 67.33 kB / 0.7681 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.1613, allocations: 81.11 kB / 0.7682 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.829e-05/0.1614, allocations: 117.8 kB / 0.7683 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.1614, allocations: 25.7 kB / 0.7683 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.1615, allocations: 107.9 kB / 0.7684 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.485e-06/0.1615, allocations: 7.938 kB / 0.7684 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.1615, allocations: 29.8 kB / 0.7685 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.1616, allocations: 314.8 kB / 0.7688 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.637e-05/0.1617, allocations: 15.98 kB / 0.7688 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.243e-05/0.1617, allocations: 58.86 kB / 0.7688 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.1618, allocations: 126.1 kB / 0.769 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1619, allocations: 0 / 0.769 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001416/0.162, allocations: 127.2 kB / 0.7691 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.162, allocations: 33.64 kB / 0.7691 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1621, allocations: 4 kB / 0.7691 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1621, allocations: 0 / 0.7691 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.1621, allocations: 15.98 kB / 0.7691 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1622, allocations: 3.938 kB / 0.7691 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.204e-05/0.1622, allocations: 12.2 kB / 0.7692 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.1622, allocations: 8 kB / 0.7692 GB, free: 5.289 MB / 0.5606 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 9.522e-05/0.1623, allocations: 152.1 kB / 0.7693 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.1624, allocations: 4 kB / 0.7693 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.124e-05/0.1624, allocations: 3.531 kB / 0.7693 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1624, allocations: 0 / 0.7693 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1624, allocations: 0 / 0.7693 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.1624, allocations: 0 / 0.7693 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.1626, allocations: 161.6 kB / 0.7695 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1626, allocations: 0 / 0.7695 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1626, allocations: 4 kB / 0.7695 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.1626, allocations: 3.984 kB / 0.7695 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.1626, allocations: 0 / 0.7695 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1626, allocations: 0 / 0.7695 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.1626, allocations: 4 kB / 0.7695 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.1627, allocations: 169.1 kB / 0.7696 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.1628, allocations: 85.06 kB / 0.7697 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.1628, allocations: 0 / 0.7697 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.528e-05/0.1629, allocations: 4.031 kB / 0.7697 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.1629, allocations: 7.984 kB / 0.7697 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.1629, allocations: 0 / 0.7697 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.131e-05/0.1629, allocations: 87.28 kB / 0.7698 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.483e-06/0.163, allocations: 0 / 0.7698 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002425/0.1632, allocations: 15.88 kB / 0.7698 GB, free: 4.496 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 (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.0001468/0.1634, allocations: 107.2 kB / 0.7699 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.1635, allocations: 87.33 kB / 0.77 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1635, allocations: 0 / 0.77 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.242e-05/0.1635, allocations: 63.34 kB / 0.7701 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.1638, allocations: 6.344 kB / 0.7701 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002085/0.164, allocations: 101 kB / 0.7702 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1642, allocations: 0.6806 MB / 0.7708 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.446e-05/0.1643, allocations: 24.28 kB / 0.7709 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.188e-05/0.1643, allocations: 7.438 kB / 0.7709 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.1643, allocations: 0 / 0.7709 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of Templates: time 0.00254/0.1669, allocations: 0.5368 MB / 0.7714 GB, free: 2.82 MB / 0.5606 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)