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.00205/0.00205, allocations: 102.7 kB / 16.4 MB, free: 6.508 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.002352/0.002352, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.577/2.577, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8587/0.8587, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002123, allocations: 67.66 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2625, allocations: 76.18 MB / 0.6316 GB, free: 4.883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002965/0.2656, allocations: 0.5714 MB / 0.6322 GB, free: 4.316 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000359/0.266, allocations: 39.81 kB / 0.6322 GB, free: 4.277 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.37e-05/0.266, allocations: 4 kB / 0.6322 GB, free: 4.273 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.11e-05/0.2661, allocations: 0 / 0.6322 GB, free: 4.273 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.723e-05/0.2662, allocations: 0 / 0.6322 GB, free: 4.273 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.2665, allocations: 11.98 kB / 0.6322 GB, free: 4.262 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.2667, allocations: 7.984 kB / 0.6322 GB, free: 4.254 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.938e-05/0.2668, allocations: 0 / 0.6322 GB, free: 4.254 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.887e-05/0.2668, allocations: 8 kB / 0.6323 GB, free: 4.246 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.867e-05/0.2669, allocations: 3.938 kB / 0.6323 GB, free: 4.242 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.2669, allocations: 0 / 0.6323 GB, free: 4.242 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.2671, allocations: 23.97 kB / 0.6323 GB, free: 4.219 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.2671, allocations: 4 kB / 0.6323 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.2672, allocations: 7.875 kB / 0.6323 GB, free: 4.207 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.2674, allocations: 31.91 kB / 0.6323 GB, free: 4.176 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.2674, allocations: 0 / 0.6323 GB, free: 4.176 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.2674, allocations: 0 / 0.6323 GB, free: 4.176 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.2674, allocations: 0 / 0.6323 GB, free: 4.176 MB / 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.0005963/0.268, allocations: 353.3 kB / 0.6327 GB, free: 3.773 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.891e-05/0.2681, allocations: 8.031 kB / 0.6327 GB, free: 3.766 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.302e-05/0.2682, allocations: 34.75 kB / 0.6327 GB, free: 3.723 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.2682, allocations: 4.844 kB / 0.6327 GB, free: 3.719 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.2684, allocations: 167.2 kB / 0.6329 GB, free: 3.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.2684, allocations: 384 / 0.6329 GB, free: 3.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.2685, allocations: 4.375 kB / 0.6329 GB, free: 3.516 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.2687, allocations: 54.25 kB / 0.6329 GB, free: 3.457 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.2687, allocations: 3.938 kB / 0.6329 GB, free: 3.453 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.2687, allocations: 3.938 kB / 0.6329 GB, free: 3.449 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-05/0.2688, allocations: 12 kB / 0.6329 GB, free: 3.438 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.871e-05/0.2689, allocations: 23.98 kB / 0.633 GB, free: 3.414 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005519/0.2694, allocations: 260.9 kB / 0.6332 GB, free: 3.109 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.179e-05/0.2695, allocations: 14.58 kB / 0.6332 GB, free: 3.086 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.2696, allocations: 8.922 kB / 0.6332 GB, free: 3.074 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.2696, allocations: 0 / 0.6332 GB, free: 3.074 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/0.2697, allocations: 46.48 kB / 0.6333 GB, free: 3.02 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 2.013e-06/0.2697, allocations: 0 / 0.6333 GB, free: 3.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002606/0.2699, allocations: 67.31 kB / 0.6333 GB, free: 2.941 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.27, allocations: 77.11 kB / 0.6334 GB, free: 2.848 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.2702, allocations: 118.4 kB / 0.6335 GB, free: 2.723 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.2702, allocations: 29.69 kB / 0.6336 GB, free: 2.688 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/0.2703, allocations: 104.1 kB / 0.6337 GB, free: 2.582 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.2703, allocations: 3.906 kB / 0.6337 GB, free: 2.578 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.771e-05/0.2704, allocations: 38.11 kB / 0.6337 GB, free: 2.535 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2706, allocations: 318.8 kB / 0.634 GB, free: 2.215 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.813e-05/0.2706, allocations: 4 kB / 0.634 GB, free: 2.211 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.062e-05/0.2707, allocations: 66.8 kB / 0.6341 GB, free: 2.121 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.2709, allocations: 134.2 kB / 0.6342 GB, free: 1.953 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2709, allocations: 7.938 kB / 0.6342 GB, free: 1.945 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002294/0.2711, allocations: 119.2 kB / 0.6343 GB, free: 1.816 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.2712, allocations: 33.69 kB / 0.6344 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.2712, allocations: 4 kB / 0.6344 GB, free: 1.773 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.2713, allocations: 4 kB / 0.6344 GB, free: 1.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.2714, allocations: 11.94 kB / 0.6344 GB, free: 1.758 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.2714, allocations: 4 kB / 0.6344 GB, free: 1.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.2715, allocations: 16.09 kB / 0.6344 GB, free: 1.738 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.2716, allocations: 7.938 kB / 0.6344 GB, free: 1.73 MB / 478.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 0.0001718/0.2717, allocations: 147.5 kB / 0.6345 GB, free: 1.57 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.2718, allocations: 0 / 0.6345 GB, free: 1.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.881e-05/0.2718, allocations: 3.531 kB / 0.6345 GB, free: 1.562 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2718, allocations: 4 kB / 0.6345 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2718, allocations: 0 / 0.6345 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2719, allocations: 0 / 0.6345 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.2721, allocations: 161.6 kB / 0.6347 GB, free: 1.352 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2721, allocations: 4 kB / 0.6347 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-06/0.2721, allocations: 0 / 0.6347 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2721, allocations: 3.938 kB / 0.6347 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.2722, allocations: 3.984 kB / 0.6347 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2722, allocations: 4 kB / 0.6347 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2722, allocations: 0 / 0.6347 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.2724, allocations: 161.2 kB / 0.6349 GB, free: 1.156 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.2724, allocations: 85 kB / 0.6349 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.2725, allocations: 4.031 kB / 0.635 GB, free: 1.051 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.644e-05/0.2726, allocations: 4 kB / 0.635 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.2726, allocations: 0 / 0.635 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.2726, allocations: 0 / 0.635 GB, free: 1.047 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.663e-05/0.2727, allocations: 95.2 kB / 0.635 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2727, allocations: 0 / 0.635 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004332/0.2732, allocations: 12 kB / 0.6351 GB, free: 0.9414 MB / 478.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.0006376/0.2738, allocations: 0.6985 MB / 0.6357 GB, free: 216 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.274, allocations: 87.33 kB / 0.6358 GB, free: 116 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.2741, allocations: 0 / 0.6358 GB, free: 116 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.519e-05/0.2741, allocations: 63.39 kB / 0.6359 GB, free: 40 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.2745, allocations: 8.469 kB / 0.6359 GB, free: 32 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000671/0.2752, allocations: 154.6 kB / 0.636 GB, free: 15.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.2756, allocations: 0.6768 MB / 0.6367 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.2757, allocations: 15.97 kB / 0.6367 GB, free: 15.12 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.2758, allocations: 7.438 kB / 0.6367 GB, free: 15.11 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2758, allocations: 0 / 0.6367 GB, free: 15.11 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.145/1.421, allocations: 1.434 MB / 0.6381 GB, free: 13.79 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/12.54, allocations: 10.88 kB / 0.6381 GB, free: 13.78 MB / 494.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)