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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 101 kB / 16.26 MB, free: 5.93 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.001224/0.001223, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.343/1.343, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7533/0.7533, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 63.91 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3832, allocations: 77.92 MB / 0.5673 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001666/0.3849, allocations: 0.5743 MB / 0.5679 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001956/0.3851, allocations: 33.47 kB / 0.5679 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.642e-05/0.3851, allocations: 1.406 kB / 0.5679 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.052e-05/0.3851, allocations: 0 / 0.5679 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.996e-05/0.3852, allocations: 6.125 kB / 0.5679 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.3853, allocations: 14.12 kB / 0.5679 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.274e-05/0.3854, allocations: 11.88 kB / 0.5679 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.351e-05/0.3854, allocations: 1.891 kB / 0.5679 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.533e-05/0.3855, allocations: 1.25 kB / 0.5679 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.841e-05/0.3855, allocations: 2.25 kB / 0.5679 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.3855, allocations: 4.594 kB / 0.5679 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.023e-05/0.3856, allocations: 16.62 kB / 0.5679 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.3856, allocations: 7.75 kB / 0.568 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.3857, allocations: 9.062 kB / 0.568 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.809e-05/0.3857, allocations: 23.86 kB / 0.568 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3858, allocations: 2.312 kB / 0.568 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3858, allocations: 0 / 0.568 GB, free: 32.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.3858, allocations: 0 / 0.568 GB, free: 32.43 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.0002215/0.386, allocations: 353.5 kB / 0.5683 GB, free: 32.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.386, allocations: 13.53 kB / 0.5683 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.429e-05/0.3861, allocations: 37.98 kB / 0.5684 GB, free: 31.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.113e-05/0.3861, allocations: 7.062 kB / 0.5684 GB, free: 31.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.657e-05/0.3861, allocations: 163.2 kB / 0.5685 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.3862, allocations: 5.531 kB / 0.5685 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.3862, allocations: 1.5 kB / 0.5685 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.3863, allocations: 55.47 kB / 0.5686 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.3863, allocations: 4.5 kB / 0.5686 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.3863, allocations: 1.281 kB / 0.5686 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.3863, allocations: 7.172 kB / 0.5686 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.668e-05/0.3864, allocations: 28.42 kB / 0.5686 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002348/0.3866, allocations: 263.6 kB / 0.5689 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.465e-05/0.3867, allocations: 25.28 kB / 0.5689 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.3867, allocations: 9.547 kB / 0.5689 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-06/0.3867, allocations: 0 / 0.5689 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.3867, allocations: 32.25 kB / 0.569 GB, free: 31.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.3867, allocations: 0 / 0.569 GB, free: 31.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001327/0.3869, allocations: 70.59 kB / 0.569 GB, free: 31.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.3869, allocations: 82.14 kB / 0.5691 GB, free: 31.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.159e-05/0.387, allocations: 116.3 kB / 0.5692 GB, free: 31.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.387, allocations: 27.14 kB / 0.5692 GB, free: 31.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.387, allocations: 105.2 kB / 0.5693 GB, free: 30.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.804e-06/0.387, allocations: 10.19 kB / 0.5693 GB, free: 30.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.3871, allocations: 22.44 kB / 0.5694 GB, free: 30.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.3871, allocations: 318.5 kB / 0.5697 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.3871, allocations: 12.83 kB / 0.5697 GB, free: 30.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.873e-05/0.3872, allocations: 59.27 kB / 0.5697 GB, free: 30.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.219e-05/0.3873, allocations: 133.7 kB / 0.5699 GB, free: 30.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3873, allocations: 0 / 0.5699 GB, free: 30.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001262/0.3874, allocations: 119.2 kB / 0.57 GB, free: 30.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.3874, allocations: 32.05 kB / 0.57 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3874, allocations: 3.156 kB / 0.57 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3875, allocations: 2.375 kB / 0.57 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/0.3875, allocations: 15.94 kB / 0.57 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.3875, allocations: 9.375 kB / 0.57 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.905e-05/0.3876, allocations: 7.375 kB / 0.57 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.3876, allocations: 14.55 kB / 0.5701 GB, free: 30.3 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 6.256e-05/0.3877, allocations: 144.2 kB / 0.5702 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.3877, allocations: 2.375 kB / 0.5702 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.093e-05/0.3877, allocations: 7.078 kB / 0.5702 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.3877, allocations: 0 / 0.5702 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3878, allocations: 1.875 kB / 0.5702 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.3878, allocations: 0 / 0.5702 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.3879, allocations: 158.9 kB / 0.5704 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3879, allocations: 4.531 kB / 0.5704 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3879, allocations: 0 / 0.5704 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.3879, allocations: 1.562 kB / 0.5704 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3879, allocations: 2.547 kB / 0.5704 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.3879, allocations: 0 / 0.5704 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3879, allocations: 1.906 kB / 0.5704 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.911e-05/0.388, allocations: 173.4 kB / 0.5705 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.388, allocations: 78.62 kB / 0.5706 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.388, allocations: 2.422 kB / 0.5706 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.484e-05/0.3881, allocations: 2.766 kB / 0.5706 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/0.3881, allocations: 1.156 kB / 0.5706 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.3881, allocations: 3.375 kB / 0.5706 GB, free: 29.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.488e-05/0.3882, allocations: 93.95 kB / 0.5707 GB, free: 29.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3882, allocations: 2.812 kB / 0.5707 GB, free: 29.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.3884, allocations: 9.188 kB / 0.5707 GB, free: 29.59 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.0003142/0.3887, allocations: 0.7045 MB / 0.5714 GB, free: 28.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.3889, allocations: 85.67 kB / 0.5715 GB, free: 28.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3889, allocations: 0 / 0.5715 GB, free: 28.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.646e-05/0.3889, allocations: 58.56 kB / 0.5715 GB, free: 28.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.3891, allocations: 3.031 kB / 0.5716 GB, free: 28.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.3895, allocations: 145.1 kB / 0.5717 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.3896, allocations: 0.6795 MB / 0.5724 GB, free: 27.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.3898, allocations: 12.16 kB / 0.5724 GB, free: 27.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.3898, allocations: 13.61 kB / 0.5724 GB, free: 27.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3898, allocations: 0.5938 kB / 0.5724 GB, free: 27.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.4075, allocations: 1.408 MB / 0.5738 GB, free: 27.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.227/7.634, allocations: 15.2 kB / 0.5738 GB, free: 27.58 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)