Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IDEAS_IDEAS_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.005392/0.005392, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001153/0.001153, allocations: 186.7 kB / 16.67 MB, free: 5.969 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7598/0.7598, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 67.91 kB / 0.5809 GB, free: 8.031 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.436, allocations: 80.2 MB / 0.6592 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001701/0.4378, allocations: 0.572 MB / 0.6598 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002383/0.438, allocations: 49.08 kB / 0.6598 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.906e-05/0.4381, allocations: 0 / 0.6598 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.4381, allocations: 0 / 0.6598 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.351e-05/0.4382, allocations: 1.844 kB / 0.6598 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.4384, allocations: 16.38 kB / 0.6598 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.637e-05/0.4385, allocations: 7.531 kB / 0.6599 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.336e-05/0.4385, allocations: 1.688 kB / 0.6599 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.809e-05/0.4385, allocations: 1.25 kB / 0.6599 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.948e-05/0.4386, allocations: 2.125 kB / 0.6599 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.4386, allocations: 3.984 kB / 0.6599 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.649e-05/0.4387, allocations: 25.98 kB / 0.6599 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.4387, allocations: 2.5 kB / 0.6599 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.4387, allocations: 5.922 kB / 0.6599 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.402e-05/0.4388, allocations: 22.16 kB / 0.6599 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.4389, allocations: 6.203 kB / 0.6599 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4389, allocations: 0 / 0.6599 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.4389, allocations: 0 / 0.6599 GB, free: 9.469 MB / 0.4981 GB 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.0002561/0.4391, allocations: 345.5 kB / 0.6602 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4392, allocations: 9.469 kB / 0.6603 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.568e-05/0.4392, allocations: 37.42 kB / 0.6603 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.4392, allocations: 2.156 kB / 0.6603 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.345e-05/0.4393, allocations: 164 kB / 0.6605 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.4393, allocations: 1.656 kB / 0.6605 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.4393, allocations: 1.906 kB / 0.6605 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.4395, allocations: 67.78 kB / 0.6605 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.4395, allocations: 3.938 kB / 0.6605 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.4395, allocations: 0 / 0.6605 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.4395, allocations: 11.02 kB / 0.6605 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.958e-05/0.4396, allocations: 27.86 kB / 0.6606 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.4399, allocations: 265.4 kB / 0.6608 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.008e-05/0.4399, allocations: 21.78 kB / 0.6608 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.485e-05/0.4399, allocations: 12.09 kB / 0.6608 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.4399, allocations: 0 / 0.6608 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.44, allocations: 36.59 kB / 0.6609 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.44, allocations: 0 / 0.6609 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001539/0.4401, allocations: 67.42 kB / 0.6609 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.4402, allocations: 79.09 kB / 0.661 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.45e-05/0.4402, allocations: 118.7 kB / 0.6611 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.4402, allocations: 34.42 kB / 0.6612 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.874e-05/0.4403, allocations: 100.2 kB / 0.6613 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.676e-06/0.4403, allocations: 5.969 kB / 0.6613 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.4403, allocations: 27.33 kB / 0.6613 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.412e-05/0.4404, allocations: 321.6 kB / 0.6616 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.4404, allocations: 9.453 kB / 0.6616 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.257e-05/0.4405, allocations: 65.44 kB / 0.6617 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.527e-05/0.4405, allocations: 132.4 kB / 0.6618 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4405, allocations: 0 / 0.6618 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001334/0.4407, allocations: 112.8 kB / 0.6619 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.4407, allocations: 35.22 kB / 0.6619 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4407, allocations: 1.625 kB / 0.6619 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4408, allocations: 11.34 kB / 0.662 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.391e-05/0.4408, allocations: 12.45 kB / 0.662 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4409, allocations: 6.078 kB / 0.662 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.98e-05/0.4409, allocations: 8.125 kB / 0.662 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.441, allocations: 10.23 kB / 0.662 GB, free: 7.32 MB / 0.4981 GB 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 7.221e-05/0.441, allocations: 143.1 kB / 0.6621 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.4411, allocations: 10.66 kB / 0.6621 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.452e-05/0.4411, allocations: 5.516 kB / 0.6621 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4411, allocations: 4.797 kB / 0.6621 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4411, allocations: 1.375 kB / 0.6621 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4411, allocations: 0 / 0.6621 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.595e-05/0.4412, allocations: 153.1 kB / 0.6623 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4412, allocations: 0.7969 kB / 0.6623 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-07/0.4412, allocations: 5.312 kB / 0.6623 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4412, allocations: 0 / 0.6623 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.4412, allocations: 1.781 kB / 0.6623 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4412, allocations: 4.547 kB / 0.6623 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4412, allocations: 0 / 0.6623 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.209e-05/0.4413, allocations: 175.4 kB / 0.6625 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.4414, allocations: 82.77 kB / 0.6625 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.4414, allocations: 1.641 kB / 0.6626 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.538e-05/0.4414, allocations: 1.156 kB / 0.6626 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.4415, allocations: 1.938 kB / 0.6626 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.4415, allocations: 6.547 kB / 0.6626 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.082e-05/0.4415, allocations: 89.23 kB / 0.6626 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4415, allocations: 0 / 0.6626 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002476/0.4418, allocations: 23.34 kB / 0.6627 GB, free: 6.582 MB / 0.4981 GB 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.0003228/0.4421, allocations: 0.6966 MB / 0.6633 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.4422, allocations: 85.89 kB / 0.6634 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4423, allocations: 4.062 kB / 0.6634 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.341e-05/0.4423, allocations: 59.53 kB / 0.6635 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.4425, allocations: 6.797 kB / 0.6635 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.4429, allocations: 148.4 kB / 0.6636 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.443, allocations: 0.6778 MB / 0.6643 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.4431, allocations: 16.19 kB / 0.6643 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.4431, allocations: 9.25 kB / 0.6643 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.4432, allocations: 1.438 kB / 0.6643 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.4615, allocations: 1.442 MB / 0.6657 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.544/8.005, allocations: 17.3 kB / 0.6658 GB, free: 4.391 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)