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.00111/0.00111, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001107/0.001107, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.286/1.286, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002031/0.002031, allocations: 278.9 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.967/0.967, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 98.84 kB / 0.5945 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1485, allocations: 86.99 MB / 0.6795 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001643/0.1502, allocations: 0.6301 MB / 0.6801 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002263/0.1505, allocations: 39.88 kB / 0.6801 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.357e-05/0.1505, allocations: 0 / 0.6801 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.1505, allocations: 0 / 0.6801 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.041e-05/0.1506, allocations: 6.828 kB / 0.6801 GB, free: 500 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.1507, allocations: 8 kB / 0.6801 GB, free: 492 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.739e-05/0.1507, allocations: 4 kB / 0.6801 GB, free: 488 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.409e-05/0.1508, allocations: 0 / 0.6801 GB, free: 488 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.838e-05/0.1508, allocations: 3.984 kB / 0.6801 GB, free: 484 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.022e-05/0.1508, allocations: 8 kB / 0.6801 GB, free: 476 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1509, allocations: 4.766 kB / 0.6801 GB, free: 472 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.703e-05/0.1509, allocations: 19.92 kB / 0.6802 GB, free: 452 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.151, allocations: 7.938 kB / 0.6802 GB, free: 444 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.151, allocations: 5.656 kB / 0.6802 GB, free: 440 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.227e-05/0.1511, allocations: 19.98 kB / 0.6802 GB, free: 420 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1511, allocations: 0 / 0.6802 GB, free: 420 kB / 478.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.1511, allocations: 3.938 kB / 0.6802 GB, free: 416 kB / 478.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.1511, allocations: 4.656 kB / 0.6802 GB, free: 412 kB / 478.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.0002962/0.1514, allocations: 351.9 kB / 0.6805 GB, free: 4 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1515, allocations: 8.953 kB / 0.6806 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.1515, allocations: 0.9375 kB / 0.6806 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.192e-05/0.1516, allocations: 176.2 kB / 0.6807 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1516, allocations: 5.438 kB / 0.6807 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.1516, allocations: 384 / 0.6807 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.1517, allocations: 59.23 kB / 0.6808 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.1518, allocations: 192 / 0.6808 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.1518, allocations: 3.938 kB / 0.6808 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.1518, allocations: 12.47 kB / 0.6808 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.377e-05/0.1518, allocations: 27.98 kB / 0.6808 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.1521, allocations: 264.8 kB / 0.6811 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.002e-05/0.1522, allocations: 22.58 kB / 0.6811 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.1522, allocations: 4.859 kB / 0.6811 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.611e-06/0.1522, allocations: 0 / 0.6811 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1523, allocations: 42.55 kB / 0.6811 GB, free: 15.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1523, allocations: 4 kB / 0.6811 GB, free: 15.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001504/0.1524, allocations: 63.41 kB / 0.6812 GB, free: 15.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.1525, allocations: 77.11 kB / 0.6813 GB, free: 15.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.854e-05/0.1526, allocations: 121.7 kB / 0.6814 GB, free: 14.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.1526, allocations: 29.7 kB / 0.6814 GB, free: 14.94 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.1526, allocations: 99.8 kB / 0.6815 GB, free: 14.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.965e-06/0.1526, allocations: 4 kB / 0.6815 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.1527, allocations: 29.73 kB / 0.6816 GB, free: 14.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.1528, allocations: 322.8 kB / 0.6819 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.311e-05/0.1528, allocations: 8 kB / 0.6819 GB, free: 14.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.455e-05/0.1529, allocations: 62.86 kB / 0.6819 GB, free: 14.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.418e-05/0.153, allocations: 130.2 kB / 0.6821 GB, free: 14.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.153, allocations: 0 / 0.6821 GB, free: 14.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001392/0.1531, allocations: 123.2 kB / 0.6822 GB, free: 14.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.1532, allocations: 33.7 kB / 0.6822 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1532, allocations: 0 / 0.6822 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1532, allocations: 4 kB / 0.6822 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.1533, allocations: 11.94 kB / 0.6822 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.1533, allocations: 4 kB / 0.6822 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.1534, allocations: 11.94 kB / 0.6822 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.1534, allocations: 16.23 kB / 0.6822 GB, free: 14 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 8.697e-05/0.1535, allocations: 140.8 kB / 0.6824 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.1535, allocations: 7.906 kB / 0.6824 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.314e-05/0.1535, allocations: 11.47 kB / 0.6824 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1535, allocations: 7.922 kB / 0.6824 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1535, allocations: 0 / 0.6824 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1535, allocations: 0 / 0.6824 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.1537, allocations: 153.6 kB / 0.6826 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1537, allocations: 0 / 0.6826 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-07/0.1537, allocations: 4 kB / 0.6826 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1537, allocations: 3.984 kB / 0.6826 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1537, allocations: 4 kB / 0.6826 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1537, allocations: 3.938 kB / 0.6826 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1537, allocations: 0 / 0.6826 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.1538, allocations: 161.2 kB / 0.6827 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.1539, allocations: 89.09 kB / 0.6828 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.1539, allocations: 4 kB / 0.6828 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.454e-05/0.154, allocations: 4.031 kB / 0.6828 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.154, allocations: 0 / 0.6828 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.154, allocations: 4 kB / 0.6828 GB, free: 13.31 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.337e-05/0.154, allocations: 87.27 kB / 0.6829 GB, free: 13.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.154, allocations: 0 / 0.6829 GB, free: 13.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.1543, allocations: 15.94 kB / 0.6829 GB, free: 13.21 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.0001261/0.1544, allocations: 103.2 kB / 0.683 GB, free: 13.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.1545, allocations: 91.27 kB / 0.6831 GB, free: 13 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1546, allocations: 0 / 0.6831 GB, free: 13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.1546, allocations: 59.39 kB / 0.6832 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.1548, allocations: 4 kB / 0.6832 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001864/0.155, allocations: 114.6 kB / 0.6833 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.1552, allocations: 0.6815 MB / 0.6839 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.177e-05/0.1553, allocations: 11.98 kB / 0.684 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.122e-05/0.1553, allocations: 11.44 kB / 0.684 GB, free: 12.06 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1553, allocations: 0 / 0.684 GB, free: 12.06 MB / 494.1 MB Notification: Performance of Templates: time 0.002333/0.1576, allocations: 0.4971 MB / 0.6844 GB, free: 11.57 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)