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.001415/0.001415, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001752, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002112/0.002112, allocations: 270.6 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.898/0.898, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 102.1 kB / 0.5952 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1526, allocations: 86.98 MB / 0.6802 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001678/0.1543, allocations: 0.5778 MB / 0.6808 GB, free: 120 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002206/0.1546, allocations: 39.16 kB / 0.6808 GB, free: 84 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.954e-05/0.1546, allocations: 3.938 kB / 0.6808 GB, free: 80 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.1546, allocations: 0 / 0.6808 GB, free: 80 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.286e-05/0.1547, allocations: 0 / 0.6808 GB, free: 80 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.1549, allocations: 15.91 kB / 0.6808 GB, free: 64 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.014e-05/0.155, allocations: 8 kB / 0.6808 GB, free: 56 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.155, allocations: 4 kB / 0.6808 GB, free: 52 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.755e-05/0.155, allocations: 3.984 kB / 0.6808 GB, free: 48 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.884e-05/0.1551, allocations: 0.6875 kB / 0.6808 GB, free: 48 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.1551, allocations: 0 / 0.6808 GB, free: 48 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.388e-05/0.1552, allocations: 16.86 kB / 0.6808 GB, free: 32 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.014e-05/0.1552, allocations: 4 kB / 0.6808 GB, free: 28 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.1552, allocations: 8.688 kB / 0.6809 GB, free: 20 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.1554, allocations: 28.33 kB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1554, allocations: 5.312 kB / 0.6809 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1554, allocations: 0 / 0.6809 GB, free: 15.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1554, allocations: 0 / 0.6809 GB, free: 15.98 MB / 494.1 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.0003642/0.1558, allocations: 357.1 kB / 0.6812 GB, free: 15.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1558, allocations: 8.031 kB / 0.6812 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.1558, allocations: 4.938 kB / 0.6812 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.566e-05/0.1559, allocations: 164.4 kB / 0.6814 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1559, allocations: 384 / 0.6814 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.156, allocations: 8.312 kB / 0.6814 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1561, allocations: 62.25 kB / 0.6815 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1561, allocations: 192 / 0.6815 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1561, allocations: 3.938 kB / 0.6815 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.1562, allocations: 4 kB / 0.6815 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.823e-05/0.1562, allocations: 27.98 kB / 0.6815 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.1566, allocations: 268.8 kB / 0.6818 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.301e-05/0.1566, allocations: 18.52 kB / 0.6818 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.1566, allocations: 12.92 kB / 0.6818 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.1566, allocations: 3.938 kB / 0.6818 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.1567, allocations: 34.56 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1567, allocations: 0 / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000169/0.1569, allocations: 67.39 kB / 0.6819 GB, free: 14.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.1569, allocations: 77.11 kB / 0.682 GB, free: 14.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.157, allocations: 121.7 kB / 0.6821 GB, free: 14.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.157, allocations: 25.7 kB / 0.6821 GB, free: 14.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.386e-05/0.1571, allocations: 103.8 kB / 0.6822 GB, free: 14.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.814e-06/0.1571, allocations: 7.938 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.1571, allocations: 29.75 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.1572, allocations: 318.8 kB / 0.6825 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.319e-05/0.1573, allocations: 8 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.403e-05/0.1573, allocations: 62.86 kB / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.997e-05/0.1574, allocations: 126.1 kB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1575, allocations: 4 kB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001456/0.1576, allocations: 119.2 kB / 0.6828 GB, free: 13.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.1576, allocations: 33.69 kB / 0.6829 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1577, allocations: 7.938 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1577, allocations: 0 / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.1577, allocations: 12 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.1578, allocations: 4 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.1578, allocations: 12.17 kB / 0.6829 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.1579, allocations: 8 kB / 0.6829 GB, free: 13.59 MB / 494.1 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 9.644e-05/0.158, allocations: 152.7 kB / 0.6831 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.158, allocations: 7.906 kB / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.144e-05/0.158, allocations: 3.531 kB / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.158, allocations: 0 / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.158, allocations: 4 kB / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.158, allocations: 0 / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.1582, allocations: 157.6 kB / 0.6832 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1582, allocations: 0 / 0.6832 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1582, allocations: 4 kB / 0.6832 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.1582, allocations: 0 / 0.6832 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.1582, allocations: 0 / 0.6832 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1582, allocations: 3.984 kB / 0.6832 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1582, allocations: 4 kB / 0.6832 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.1583, allocations: 165.1 kB / 0.6834 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.1584, allocations: 81.09 kB / 0.6835 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.1584, allocations: 0 / 0.6835 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.229e-05/0.1585, allocations: 8.031 kB / 0.6835 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.1585, allocations: 7.938 kB / 0.6835 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.1585, allocations: 0 / 0.6835 GB, free: 12.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.444e-05/0.1585, allocations: 91.73 kB / 0.6836 GB, free: 12.81 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1586, allocations: 0 / 0.6836 GB, free: 12.81 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.1588, allocations: 11.94 kB / 0.6836 GB, free: 12.8 MB / 494.1 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.0001493/0.1589, allocations: 103.2 kB / 0.6837 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.1591, allocations: 87.33 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1591, allocations: 4 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.1591, allocations: 63.39 kB / 0.6838 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.1593, allocations: 3.938 kB / 0.6838 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.1595, allocations: 109 kB / 0.6839 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.1597, allocations: 0.679 MB / 0.6846 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.679e-05/0.1598, allocations: 15.98 kB / 0.6846 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.213e-05/0.1598, allocations: 7.438 kB / 0.6846 GB, free: 11.65 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1598, allocations: 3.938 kB / 0.6846 GB, free: 11.64 MB / 494.1 MB Notification: Performance of Templates: time 0.002555/0.1624, allocations: 0.5195 MB / 0.6851 GB, free: 11.14 MB / 494.1 MB 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)