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.002109/0.002109, allocations: 96.27 kB / 15.68 MB, free: 488 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.003389/0.003389, allocations: 175.4 kB / 16.57 MB, free: 6.387 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.676/2.676, allocations: 223.2 MB / 240.5 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7749/0.7749, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003261, allocations: 16 kB / 493 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1346, allocations: 77.12 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0005687/0.1352, allocations: 307.1 kB / 0.557 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001549/0.1353, allocations: 31.97 kB / 0.5571 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.446e-05/0.1354, allocations: 4 kB / 0.5571 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.1354, allocations: 0 / 0.5571 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.932e-05/0.1354, allocations: 0 / 0.5571 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.1356, allocations: 15.92 kB / 0.5571 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.563e-05/0.1356, allocations: 0 / 0.5571 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.1357, allocations: 4 kB / 0.5571 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.571e-05/0.1357, allocations: 0 / 0.5571 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.495e-05/0.1357, allocations: 8 kB / 0.5571 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.327e-06/0.1357, allocations: 0 / 0.5571 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.385e-05/0.1358, allocations: 11.98 kB / 0.5571 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.1358, allocations: 8 kB / 0.5571 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.1358, allocations: 29.64 kB / 0.5571 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.447e-05/0.1359, allocations: 15.97 kB / 0.5571 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1359, allocations: 3.938 kB / 0.5572 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1359, allocations: 0 / 0.5572 GB, free: 11.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1359, allocations: 0 / 0.5572 GB, free: 11.25 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.0002758/0.1362, allocations: 349.1 kB / 0.5575 GB, free: 10.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1362, allocations: 8.031 kB / 0.5575 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.915e-05/0.1363, allocations: 34.55 kB / 0.5575 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.095e-05/0.1363, allocations: 8 kB / 0.5575 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.247e-05/0.1364, allocations: 163.3 kB / 0.5577 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1364, allocations: 0 / 0.5577 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.1364, allocations: 4 kB / 0.5577 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.1365, allocations: 57.64 kB / 0.5577 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.1366, allocations: 0 / 0.5577 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.1366, allocations: 0 / 0.5577 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/0.1366, allocations: 15.92 kB / 0.5578 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.332e-05/0.1367, allocations: 23.98 kB / 0.5578 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.1369, allocations: 260.8 kB / 0.558 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.499e-05/0.137, allocations: 22.52 kB / 0.5581 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-06/0.137, allocations: 0 / 0.5581 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.137, allocations: 34.55 kB / 0.5581 GB, free: 10.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.137, allocations: 4.062 kB / 0.5581 GB, free: 10.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001412/0.1372, allocations: 71.25 kB / 0.5582 GB, free: 10.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.1372, allocations: 81.23 kB / 0.5582 GB, free: 9.934 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.841e-05/0.1373, allocations: 113.8 kB / 0.5583 GB, free: 9.812 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.1373, allocations: 25.7 kB / 0.5584 GB, free: 9.781 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.1374, allocations: 111.9 kB / 0.5585 GB, free: 9.668 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.061e-06/0.1374, allocations: 4 kB / 0.5585 GB, free: 9.664 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.1374, allocations: 4 kB / 0.5585 GB, free: 9.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.702e-05/0.1375, allocations: 318.8 kB / 0.5588 GB, free: 9.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.077e-05/0.1375, allocations: 8 kB / 0.5588 GB, free: 9.332 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.421e-05/0.1375, allocations: 62.8 kB / 0.5589 GB, free: 9.246 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.046e-05/0.1376, allocations: 45.69 kB / 0.5589 GB, free: 9.195 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1376, allocations: 4 kB / 0.5589 GB, free: 9.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001226/0.1377, allocations: 127 kB / 0.559 GB, free: 9.055 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.1378, allocations: 35.58 kB / 0.5591 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1378, allocations: 4 kB / 0.5591 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1378, allocations: 0 / 0.5591 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.1379, allocations: 15.98 kB / 0.5591 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1379, allocations: 4.25 kB / 0.5591 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.774e-05/0.1379, allocations: 15.94 kB / 0.5591 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.1379, allocations: 4 kB / 0.5591 GB, free: 8.973 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.72e-05/0.138, allocations: 147.4 kB / 0.5592 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.1381, allocations: 11.89 kB / 0.5593 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.368e-06/0.1381, allocations: 3.531 kB / 0.5593 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.1381, allocations: 0 / 0.5593 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1381, allocations: 0 / 0.5593 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1381, allocations: 0 / 0.5593 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.1382, allocations: 157.6 kB / 0.5594 GB, free: 8.594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1382, allocations: 8 kB / 0.5594 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1382, allocations: 0 / 0.5594 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.1382, allocations: 0 / 0.5594 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.1382, allocations: 0 / 0.5594 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1382, allocations: 0 / 0.5594 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1383, allocations: 0 / 0.5594 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.433e-05/0.1384, allocations: 165.2 kB / 0.5596 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.1384, allocations: 85.06 kB / 0.5597 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.1384, allocations: 4.031 kB / 0.5597 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.139e-05/0.1385, allocations: 3.984 kB / 0.5597 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.1385, allocations: 0 / 0.5597 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.1385, allocations: 7.938 kB / 0.5597 GB, free: 8.285 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.783e-05/0.1385, allocations: 91.27 kB / 0.5598 GB, free: 8.195 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1385, allocations: 0 / 0.5598 GB, free: 8.195 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.1388, allocations: 8 kB / 0.5598 GB, free: 8.188 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.0003406/0.1391, allocations: 0.7108 MB / 0.5605 GB, free: 7.445 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.1392, allocations: 87.27 kB / 0.5605 GB, free: 7.348 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1392, allocations: 0 / 0.5605 GB, free: 7.348 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.681e-05/0.1393, allocations: 59.94 kB / 0.5606 GB, free: 7.277 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.1394, allocations: 0 / 0.5606 GB, free: 7.277 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.1397, allocations: 148.4 kB / 0.5607 GB, free: 7.094 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.1399, allocations: 0.6809 MB / 0.5614 GB, free: 6.387 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.39e-05/0.14, allocations: 8.172 kB / 0.5614 GB, free: 6.375 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.14, allocations: 11.44 kB / 0.5614 GB, free: 6.363 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.14, allocations: 0 / 0.5614 GB, free: 6.363 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6601/0.8001, allocations: 1.205 MB / 0.5626 GB, free: 5.324 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/0.8005, allocations: 188 kB / 0.5628 GB, free: 5.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.806/3.607, allocations: 4 kB / 0.5628 GB, free: 5.086 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: