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.0006816/0.0006816, allocations: 92.16 kB / 15.71 MB, free: 452 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.0007388/0.0007388, allocations: 176.1 kB / 16.58 MB, free: 6.855 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.17/1.17, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.593/0.593, allocations: 113.7 MB / 405.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002713/0.0002714, allocations: 16 kB / 493.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1169, allocations: 77.1 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0005417/0.1175, allocations: 307.1 kB / 0.5572 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001562/0.1177, allocations: 31.86 kB / 0.5572 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.533e-05/0.1177, allocations: 3.938 kB / 0.5572 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.1177, allocations: 0 / 0.5572 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.283e-05/0.1178, allocations: 4 kB / 0.5572 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.1179, allocations: 11.92 kB / 0.5572 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.678e-05/0.1179, allocations: 7.984 kB / 0.5573 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.188e-05/0.118, allocations: 0 / 0.5573 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.596e-05/0.118, allocations: 4 kB / 0.5573 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.387e-05/0.118, allocations: 7.984 kB / 0.5573 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.757e-06/0.1181, allocations: 4 kB / 0.5573 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.569e-05/0.1181, allocations: 15.98 kB / 0.5573 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.1181, allocations: 4 kB / 0.5573 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.1182, allocations: 29.64 kB / 0.5573 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.189e-05/0.1182, allocations: 11.98 kB / 0.5573 GB, free: 11.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1182, allocations: 0 / 0.5573 GB, free: 11.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1182, allocations: 0 / 0.5573 GB, free: 11.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.1183, allocations: 0 / 0.5573 GB, free: 11.24 MB / 430.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.0002552/0.1185, allocations: 349.1 kB / 0.5577 GB, free: 10.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.1186, allocations: 8.031 kB / 0.5577 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.52e-05/0.1186, allocations: 34.56 kB / 0.5577 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.914e-05/0.1186, allocations: 4 kB / 0.5577 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.857e-05/0.1187, allocations: 163.3 kB / 0.5579 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.1187, allocations: 0 / 0.5579 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.1187, allocations: 3.984 kB / 0.5579 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.1188, allocations: 69.61 kB / 0.5579 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.1188, allocations: 3.938 kB / 0.5579 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.1189, allocations: 0 / 0.5579 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.1189, allocations: 8 kB / 0.5579 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.181e-05/0.1189, allocations: 27.98 kB / 0.558 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/0.1192, allocations: 260.8 kB / 0.5582 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.725e-05/0.1192, allocations: 18.58 kB / 0.5582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.35e-05/0.1193, allocations: 8.922 kB / 0.5582 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-06/0.1193, allocations: 0 / 0.5582 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.1193, allocations: 46.44 kB / 0.5583 GB, free: 10.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1193, allocations: 4 kB / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001311/0.1194, allocations: 67.3 kB / 0.5584 GB, free: 9.996 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.1195, allocations: 81.11 kB / 0.5584 GB, free: 9.898 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.055e-05/0.1196, allocations: 117.8 kB / 0.5585 GB, free: 9.773 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.1196, allocations: 25.7 kB / 0.5586 GB, free: 9.742 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.1196, allocations: 103.8 kB / 0.5587 GB, free: 9.637 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.98e-06/0.1196, allocations: 0 / 0.5587 GB, free: 9.637 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.1197, allocations: 4 kB / 0.5587 GB, free: 9.633 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.361e-05/0.1197, allocations: 318.9 kB / 0.559 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.1198, allocations: 19.92 kB / 0.559 GB, free: 9.293 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.154e-05/0.1198, allocations: 66.86 kB / 0.5591 GB, free: 9.203 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.119e-05/0.1199, allocations: 41.7 kB / 0.5591 GB, free: 9.156 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1199, allocations: 0 / 0.5591 GB, free: 9.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001319/0.12, allocations: 127.1 kB / 0.5592 GB, free: 9.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.1201, allocations: 33.7 kB / 0.5593 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1201, allocations: 256 / 0.5593 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1201, allocations: 8 kB / 0.5593 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.1202, allocations: 8 kB / 0.5593 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1202, allocations: 7.938 kB / 0.5593 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.627e-05/0.1202, allocations: 7.938 kB / 0.5593 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.1202, allocations: 7.984 kB / 0.5593 GB, free: 8.941 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.43e-05/0.1203, allocations: 147.5 kB / 0.5594 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.1204, allocations: 3.906 kB / 0.5594 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.02e-05/0.1204, allocations: 7.531 kB / 0.5594 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1204, allocations: 4 kB / 0.5594 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1204, allocations: 0 / 0.5594 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1204, allocations: 0 / 0.5594 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.1205, allocations: 157.6 kB / 0.5596 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1205, allocations: 0 / 0.5596 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-06/0.1205, allocations: 4 kB / 0.5596 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1205, allocations: 3.984 kB / 0.5596 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.1206, allocations: 4 kB / 0.5596 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1206, allocations: 0 / 0.5596 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1206, allocations: 0 / 0.5596 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.1207, allocations: 165.2 kB / 0.5598 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.1207, allocations: 88.98 kB / 0.5599 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.1207, allocations: 0 / 0.5599 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.147e-05/0.1208, allocations: 4 kB / 0.5599 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/0.1208, allocations: 0 / 0.5599 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1208, allocations: 4 kB / 0.5599 GB, free: 8.254 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.665e-05/0.1209, allocations: 87.27 kB / 0.5599 GB, free: 8.168 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1209, allocations: 0 / 0.5599 GB, free: 8.168 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.1211, allocations: 16.03 kB / 0.56 GB, free: 8.152 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003527/0.1214, allocations: 0.7108 MB / 0.5607 GB, free: 7.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.1216, allocations: 83.8 kB / 0.5607 GB, free: 7.316 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1216, allocations: 4.062 kB / 0.5607 GB, free: 7.312 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.142e-05/0.1216, allocations: 55.41 kB / 0.5608 GB, free: 7.246 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.1218, allocations: 7.984 kB / 0.5608 GB, free: 7.238 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.1221, allocations: 140.3 kB / 0.5609 GB, free: 7.062 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.1223, allocations: 0.677 MB / 0.5616 GB, free: 6.359 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.89e-05/0.1224, allocations: 20.22 kB / 0.5616 GB, free: 6.336 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.464e-05/0.1224, allocations: 7.438 kB / 0.5616 GB, free: 6.328 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1224, allocations: 0 / 0.5616 GB, free: 6.328 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009609/0.132, allocations: 1.221 MB / 0.5628 GB, free: 5.27 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.1322, allocations: 207.7 kB / 0.563 GB, free: 5.023 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.423/1.555, allocations: 0 / 0.563 GB, free: 5.023 MB / 430.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/linux/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) Environment - environmentSimulation: