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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001647, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6003/0.6003, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 223.1 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009013/0.0009011, allocations: 92.27 kB / 427.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003438, allocations: 12 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1605, allocations: 72.3 MB / 0.5689 GB, free: 1.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4936/0.6541, allocations: 100.7 MB / 0.6673 GB, free: 3.633 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.6544, allocations: 83.92 kB / 0.6674 GB, free: 3.551 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001342/0.6558, allocations: 0.5518 MB / 0.6679 GB, free: 3.012 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.6558, allocations: 4 kB / 0.6679 GB, free: 3.008 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.6558, allocations: 0 / 0.6679 GB, free: 3.008 MB / 458.7 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.0003428/0.6562, allocations: 353.7 kB / 0.6683 GB, free: 2.609 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.6562, allocations: 12.03 kB / 0.6683 GB, free: 2.598 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.6563, allocations: 39.23 kB / 0.6683 GB, free: 2.551 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.6563, allocations: 3.953 kB / 0.6683 GB, free: 2.547 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.6564, allocations: 171 kB / 0.6685 GB, free: 2.34 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.6564, allocations: 0 / 0.6685 GB, free: 2.34 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.6565, allocations: 0 / 0.6685 GB, free: 2.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.6566, allocations: 54.47 kB / 0.6685 GB, free: 2.281 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.6566, allocations: 0 / 0.6685 GB, free: 2.281 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.6566, allocations: 4.875 kB / 0.6685 GB, free: 2.277 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.6567, allocations: 7.984 kB / 0.6686 GB, free: 2.27 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.011e-05/0.6567, allocations: 26.02 kB / 0.6686 GB, free: 2.246 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.6571, allocations: 264.8 kB / 0.6688 GB, free: 1.938 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.857e-05/0.6572, allocations: 26.53 kB / 0.6689 GB, free: 1.902 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.6572, allocations: 4 kB / 0.6689 GB, free: 1.898 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.6572, allocations: 30.56 kB / 0.6689 GB, free: 1.859 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.352e-06/0.6572, allocations: 0 / 0.6689 GB, free: 1.859 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001725/0.6574, allocations: 63.41 kB / 0.6689 GB, free: 1.785 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.6575, allocations: 96.97 kB / 0.669 GB, free: 1.672 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/0.6576, allocations: 105 kB / 0.6691 GB, free: 1.562 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.6576, allocations: 25.7 kB / 0.6692 GB, free: 1.531 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/0.6577, allocations: 99.8 kB / 0.6693 GB, free: 1.43 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.052e-05/0.6577, allocations: 7.906 kB / 0.6693 GB, free: 1.422 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.6577, allocations: 4 kB / 0.6693 GB, free: 1.418 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6579, allocations: 314.8 kB / 0.6696 GB, free: 1.102 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.552e-05/0.6579, allocations: 16.12 kB / 0.6696 GB, free: 1.086 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-05/0.658, allocations: 54.86 kB / 0.6696 GB, free: 1.008 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.507e-05/0.658, allocations: 49.69 kB / 0.6697 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.658, allocations: 3.938 kB / 0.6697 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001412/0.6582, allocations: 111.2 kB / 0.6698 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.6582, allocations: 41.59 kB / 0.6698 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.6582, allocations: 0 / 0.6698 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.6582, allocations: 4 kB / 0.6698 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.871e-05/0.6583, allocations: 27.98 kB / 0.6699 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.6583, allocations: 0 / 0.6699 GB, free: 0.7539 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.429e-05/0.6584, allocations: 11.84 kB / 0.6699 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.6584, allocations: 8 kB / 0.6699 GB, free: 0.7344 MB / 458.7 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 9.679e-05/0.6585, allocations: 139.5 kB / 0.67 GB, free: 0.582 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.6586, allocations: 7.969 kB / 0.67 GB, free: 0.5742 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/0.6586, allocations: 11.48 kB / 0.67 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.6586, allocations: 0 / 0.67 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6586, allocations: 0 / 0.67 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.6586, allocations: 4 kB / 0.67 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.6588, allocations: 153.7 kB / 0.6702 GB, free: 368 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.6588, allocations: 0 / 0.6702 GB, free: 368 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.01e-07/0.6588, allocations: 3.938 kB / 0.6702 GB, free: 364 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.6588, allocations: 4 kB / 0.6702 GB, free: 360 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.6588, allocations: 0 / 0.6702 GB, free: 360 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.6588, allocations: 3.953 kB / 0.6702 GB, free: 356 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6588, allocations: 0 / 0.6702 GB, free: 356 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.659, allocations: 165.2 kB / 0.6704 GB, free: 168 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.659, allocations: 81.02 kB / 0.6704 GB, free: 68 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.659, allocations: 0 / 0.6704 GB, free: 68 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.248e-05/0.6591, allocations: 4 kB / 0.6704 GB, free: 64 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.6591, allocations: 3.953 kB / 0.6704 GB, free: 60 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.6591, allocations: 4 kB / 0.6704 GB, free: 56 kB / 458.7 MB Notification: Performance of sorting global known variables: time 6.32e-05/0.6592, allocations: 87.27 kB / 0.6705 GB, free: 15.97 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6592, allocations: 0 / 0.6705 GB, free: 15.97 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002442/0.6595, allocations: 12 kB / 0.6705 GB, free: 15.96 MB / 474.7 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.0005005/0.66, allocations: 0.7063 MB / 0.6712 GB, free: 15.22 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.6601, allocations: 87.31 kB / 0.6713 GB, free: 15.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6601, allocations: 0.5312 kB / 0.6713 GB, free: 15.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.516e-05/0.6602, allocations: 59.41 kB / 0.6714 GB, free: 15.05 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.6603, allocations: 17.81 kB / 0.6714 GB, free: 15.04 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.6607, allocations: 156.6 kB / 0.6715 GB, free: 14.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.661, allocations: 0.677 MB / 0.6722 GB, free: 14.14 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.694e-05/0.6611, allocations: 12.17 kB / 0.6722 GB, free: 14.12 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.6611, allocations: 11.5 kB / 0.6722 GB, free: 14.11 MB / 474.7 MB Notification: Performance of SimCode: time 3.988e-06/0.6611, allocations: 0 / 0.6722 GB, free: 14.11 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01278/0.6739, allocations: 1.191 MB / 0.6734 GB, free: 13.07 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002808/0.6743, allocations: 199.8 kB / 0.6736 GB, free: 12.82 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.307, allocations: 0 / 0.6736 GB, free: 12.82 MB / 474.7 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)