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.0008974/0.0008973, allocations: 95.77 kB / 16.02 MB, free: 76 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.001058/0.001058, allocations: 182 kB / 16.92 MB, free: 6.691 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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6463/0.6463, allocations: 115.5 MB / 407.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000282/0.000282, allocations: 8 kB / 496 MB, free: 6.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1493, allocations: 77.54 MB / 0.5601 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007418/0.1501, allocations: 311.8 kB / 0.5604 GB, free: 8.633 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002785/0.1504, allocations: 46.44 kB / 0.5604 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.722e-05/0.1504, allocations: 0 / 0.5604 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.1504, allocations: 0 / 0.5604 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.75e-05/0.1505, allocations: 4 kB / 0.5604 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.1507, allocations: 4 kB / 0.5604 GB, free: 8.582 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.155e-05/0.1507, allocations: 11.98 kB / 0.5604 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.1508, allocations: 3.938 kB / 0.5604 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.934e-05/0.1508, allocations: 0 / 0.5604 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.715e-05/0.1508, allocations: 4 kB / 0.5604 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.1509, allocations: 3.938 kB / 0.5604 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.151, allocations: 15.98 kB / 0.5604 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.953e-05/0.151, allocations: 0 / 0.5604 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.1511, allocations: 41.62 kB / 0.5605 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.039e-05/0.1511, allocations: 23.97 kB / 0.5605 GB, free: 8.473 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1512, allocations: 4 kB / 0.5605 GB, free: 8.469 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.1512, allocations: 0 / 0.5605 GB, free: 8.469 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1512, allocations: 3.938 kB / 0.5605 GB, free: 8.465 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.0002985/0.1515, allocations: 345.3 kB / 0.5608 GB, free: 8.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.1515, allocations: 12.02 kB / 0.5609 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.793e-05/0.1516, allocations: 34.75 kB / 0.5609 GB, free: 8.016 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.1516, allocations: 4.844 kB / 0.5609 GB, free: 8.012 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.1517, allocations: 168.6 kB / 0.5611 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1517, allocations: 4.375 kB / 0.5611 GB, free: 7.805 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.1518, allocations: 8.375 kB / 0.5611 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.1519, allocations: 54.25 kB / 0.5611 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1519, allocations: 3.938 kB / 0.5611 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1519, allocations: 0 / 0.5611 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.152, allocations: 7.984 kB / 0.5611 GB, free: 7.727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.144e-05/0.152, allocations: 27.92 kB / 0.5612 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.1524, allocations: 260.9 kB / 0.5614 GB, free: 7.395 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.161e-05/0.1525, allocations: 26.56 kB / 0.5614 GB, free: 7.359 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.1525, allocations: 12.92 kB / 0.5614 GB, free: 7.344 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-06/0.1525, allocations: 0 / 0.5614 GB, free: 7.344 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.1525, allocations: 30.56 kB / 0.5615 GB, free: 7.305 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1525, allocations: 0 / 0.5615 GB, free: 7.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001905/0.1527, allocations: 79.22 kB / 0.5615 GB, free: 7.215 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.1528, allocations: 81.11 kB / 0.5616 GB, free: 7.117 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.074e-05/0.1529, allocations: 114 kB / 0.5617 GB, free: 6.996 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.1529, allocations: 25.7 kB / 0.5618 GB, free: 6.965 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.153, allocations: 103.8 kB / 0.5619 GB, free: 6.859 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.113e-05/0.153, allocations: 7.891 kB / 0.5619 GB, free: 6.852 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.1531, allocations: 13.72 kB / 0.5619 GB, free: 6.832 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1532, allocations: 318.8 kB / 0.5622 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.563e-05/0.1532, allocations: 11.98 kB / 0.5622 GB, free: 6.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.26e-05/0.1533, allocations: 66.8 kB / 0.5623 GB, free: 6.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1534, allocations: 126.2 kB / 0.5624 GB, free: 6.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1534, allocations: 0 / 0.5624 GB, free: 6.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001676/0.1536, allocations: 115.2 kB / 0.5625 GB, free: 6.125 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.1537, allocations: 37.64 kB / 0.5625 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1537, allocations: 4.719 kB / 0.5625 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1537, allocations: 4 kB / 0.5625 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.835e-05/0.1538, allocations: 19.94 kB / 0.5626 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.1538, allocations: 7.922 kB / 0.5626 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.516e-05/0.1539, allocations: 7.938 kB / 0.5626 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.1539, allocations: 11.94 kB / 0.5626 GB, free: 6.027 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.154, allocations: 139.5 kB / 0.5627 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1541, allocations: 7.906 kB / 0.5627 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.548e-05/0.1541, allocations: 7.516 kB / 0.5627 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1541, allocations: 4 kB / 0.5627 GB, free: 5.855 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1541, allocations: 0 / 0.5627 GB, free: 5.855 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1541, allocations: 0 / 0.5627 GB, free: 5.855 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.1543, allocations: 153.6 kB / 0.5629 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1543, allocations: 0 / 0.5629 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.1543, allocations: 4 kB / 0.5629 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.1543, allocations: 0 / 0.5629 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1543, allocations: 0 / 0.5629 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1543, allocations: 0 / 0.5629 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1543, allocations: 3.984 kB / 0.5629 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.1545, allocations: 177.1 kB / 0.5631 GB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.1545, allocations: 77.11 kB / 0.5631 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.1545, allocations: 4 kB / 0.5631 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.768e-05/0.1546, allocations: 0 / 0.5631 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.1546, allocations: 0 / 0.5631 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.1546, allocations: 4 kB / 0.5631 GB, free: 5.352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.902e-05/0.1547, allocations: 91.2 kB / 0.5632 GB, free: 5.262 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1547, allocations: 4.031 kB / 0.5632 GB, free: 5.258 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.1549, allocations: 12 kB / 0.5632 GB, free: 5.246 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 (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.0004988/0.1554, allocations: 0.7023 MB / 0.5639 GB, free: 4.512 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.1556, allocations: 91.72 kB / 0.564 GB, free: 4.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1556, allocations: 0 / 0.564 GB, free: 4.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.451e-05/0.1557, allocations: 55.41 kB / 0.5641 GB, free: 4.344 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.1559, allocations: 11.94 kB / 0.5641 GB, free: 4.332 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.1562, allocations: 140.3 kB / 0.5642 GB, free: 4.156 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.1565, allocations: 0.6809 MB / 0.5649 GB, free: 3.449 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.7e-05/0.1566, allocations: 16.16 kB / 0.5649 GB, free: 3.434 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.1567, allocations: 11.44 kB / 0.5649 GB, free: 3.422 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1567, allocations: 0 / 0.5649 GB, free: 3.422 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2289/0.3855, allocations: 1.222 MB / 0.5661 GB, free: 2.367 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/0.3858, allocations: 219.1 kB / 0.5663 GB, free: 2.109 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.161, allocations: 0 / 0.5663 GB, free: 2.109 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/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)