Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001152/0.001153, allocations: 107.2 kB / 17.03 MB, free: 5.66 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.00104/0.00104, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.302/1.302, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6958/0.6958, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3269, allocations: 76.14 MB / 0.5576 GB, free: 36.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002312/0.3292, allocations: 0.5771 MB / 0.5581 GB, free: 36.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002419/0.3295, allocations: 40.08 kB / 0.5582 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.3295, allocations: 0 / 0.5582 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.3296, allocations: 1.531 kB / 0.5582 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.247e-05/0.3296, allocations: 0 / 0.5582 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.3298, allocations: 9.766 kB / 0.5582 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.779e-05/0.3299, allocations: 14.66 kB / 0.5582 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.33, allocations: 3.375 kB / 0.5582 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.131e-05/0.33, allocations: 5.047 kB / 0.5582 GB, free: 36.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.923e-05/0.33, allocations: 2.812 kB / 0.5582 GB, free: 36.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.3301, allocations: 0.5312 kB / 0.5582 GB, free: 36.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.581e-05/0.3302, allocations: 23.08 kB / 0.5582 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.037e-05/0.3302, allocations: 10.59 kB / 0.5582 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.3302, allocations: 5.094 kB / 0.5582 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.829e-05/0.3303, allocations: 18.69 kB / 0.5583 GB, free: 36.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3303, allocations: 1.312 kB / 0.5583 GB, free: 36.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3303, allocations: 1.375 kB / 0.5583 GB, free: 36.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3303, allocations: 0 / 0.5583 GB, free: 36.35 MB / 446.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.0002848/0.3306, allocations: 351.9 kB / 0.5586 GB, free: 35.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3307, allocations: 9.375 kB / 0.5586 GB, free: 35.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.3307, allocations: 2.875 kB / 0.5586 GB, free: 35.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.823e-05/0.3308, allocations: 172.3 kB / 0.5588 GB, free: 35.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3308, allocations: 5.625 kB / 0.5588 GB, free: 35.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.3308, allocations: 1.875 kB / 0.5588 GB, free: 35.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.3309, allocations: 60.52 kB / 0.5588 GB, free: 35.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.331, allocations: 2.312 kB / 0.5588 GB, free: 35.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.331, allocations: 7.125 kB / 0.5588 GB, free: 35.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.331, allocations: 4.469 kB / 0.5589 GB, free: 35.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.723e-05/0.3311, allocations: 24.92 kB / 0.5589 GB, free: 35.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.3313, allocations: 261.2 kB / 0.5591 GB, free: 35.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.843e-05/0.3314, allocations: 24.17 kB / 0.5591 GB, free: 35.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.3314, allocations: 11.17 kB / 0.5592 GB, free: 35.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.959e-06/0.3314, allocations: 1.078 kB / 0.5592 GB, free: 35.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.3314, allocations: 33 kB / 0.5592 GB, free: 35.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3314, allocations: 0 / 0.5592 GB, free: 35.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001596/0.3316, allocations: 69.14 kB / 0.5593 GB, free: 35.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.3316, allocations: 81.55 kB / 0.5593 GB, free: 35.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.23e-05/0.3317, allocations: 118.8 kB / 0.5594 GB, free: 35.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.3317, allocations: 27.95 kB / 0.5595 GB, free: 35.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.3318, allocations: 98.61 kB / 0.5596 GB, free: 34.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.496e-06/0.3318, allocations: 6.578 kB / 0.5596 GB, free: 34.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.3318, allocations: 25.83 kB / 0.5596 GB, free: 34.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.826e-05/0.3319, allocations: 323 kB / 0.5599 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.3319, allocations: 16.47 kB / 0.5599 GB, free: 34.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-05/0.332, allocations: 61.03 kB / 0.56 GB, free: 34.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.538e-05/0.332, allocations: 127.7 kB / 0.5601 GB, free: 34.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3321, allocations: 2.906 kB / 0.5601 GB, free: 34.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001256/0.3322, allocations: 116.3 kB / 0.5602 GB, free: 34.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.3322, allocations: 32.92 kB / 0.5602 GB, free: 34.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3322, allocations: 2.781 kB / 0.5603 GB, free: 34.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3322, allocations: 3.781 kB / 0.5603 GB, free: 34.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/0.3323, allocations: 16.59 kB / 0.5603 GB, free: 34.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.3323, allocations: 5.453 kB / 0.5603 GB, free: 34.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.3324, allocations: 12.5 kB / 0.5603 GB, free: 34.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.3324, allocations: 4.875 kB / 0.5603 GB, free: 34.27 MB / 446.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 5.855e-05/0.3325, allocations: 146.8 kB / 0.5604 GB, free: 34.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.3325, allocations: 4.891 kB / 0.5604 GB, free: 34.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.11e-05/0.3325, allocations: 8.781 kB / 0.5604 GB, free: 34.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3325, allocations: 9.375 kB / 0.5605 GB, free: 34.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3326, allocations: 0 / 0.5605 GB, free: 34.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3326, allocations: 3.609 kB / 0.5605 GB, free: 34.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.3327, allocations: 155.8 kB / 0.5606 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3327, allocations: 4 kB / 0.5606 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-06/0.3327, allocations: 1.594 kB / 0.5606 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3327, allocations: 2.484 kB / 0.5606 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.3327, allocations: 2.062 kB / 0.5606 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3327, allocations: 0.9688 kB / 0.5606 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3327, allocations: 5.203 kB / 0.5606 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.369e-05/0.3328, allocations: 166.3 kB / 0.5608 GB, free: 33.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.3328, allocations: 81.02 kB / 0.5609 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.3329, allocations: 1.312 kB / 0.5609 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.003e-05/0.3329, allocations: 3.281 kB / 0.5609 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.3329, allocations: 2.562 kB / 0.5609 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.3329, allocations: 1.281 kB / 0.5609 GB, free: 33.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.452e-05/0.333, allocations: 92.2 kB / 0.561 GB, free: 33.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.333, allocations: 0 / 0.561 GB, free: 33.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000244/0.3332, allocations: 13.38 kB / 0.561 GB, free: 33.56 MB / 446.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.0001451/0.3334, allocations: 108.8 kB / 0.5611 GB, free: 33.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.3335, allocations: 85.73 kB / 0.5612 GB, free: 33.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3335, allocations: 1.375 kB / 0.5612 GB, free: 33.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.055e-05/0.3336, allocations: 61.5 kB / 0.5612 GB, free: 33.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.3338, allocations: 4.219 kB / 0.5612 GB, free: 33.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001947/0.334, allocations: 100.1 kB / 0.5613 GB, free: 33.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.3341, allocations: 0.6788 MB / 0.562 GB, free: 32.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.313e-05/0.3342, allocations: 13.31 kB / 0.562 GB, free: 32.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.238e-05/0.3342, allocations: 11 kB / 0.562 GB, free: 32.53 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3342, allocations: 0 / 0.562 GB, free: 32.53 MB / 446.1 MB Notification: Performance of Templates: time 0.002664/0.3369, allocations: 0.5167 MB / 0.5625 GB, free: 32.48 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)