Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IDEAS_dev_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.008221/0.008221, allocations: 102.6 kB / 15.73 MB, free: 6.477 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.001844/0.001844, allocations: 194.4 kB / 16.67 MB, free: 6.379 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9804/0.9804, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 63.89 kB / 0.5852 GB, free: 3.805 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4572/0.4588, allocations: 80.91 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001537/0.4604, allocations: 0.579 MB / 0.6648 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002406/0.4606, allocations: 46.94 kB / 0.6648 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.4607, allocations: 0 / 0.6648 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.4607, allocations: 1.125 kB / 0.6648 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.707e-05/0.4608, allocations: 7.906 kB / 0.6648 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.4609, allocations: 6.859 kB / 0.6648 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.697e-05/0.461, allocations: 5.562 kB / 0.6648 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.683e-05/0.4611, allocations: 1.656 kB / 0.6648 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.4611, allocations: 5.578 kB / 0.6648 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.644e-05/0.4611, allocations: 1.406 kB / 0.6648 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.4611, allocations: 4 kB / 0.6648 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.704e-05/0.4612, allocations: 20.5 kB / 0.6649 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.4612, allocations: 6.344 kB / 0.6649 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.4613, allocations: 5.031 kB / 0.6649 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.326e-05/0.4614, allocations: 22.55 kB / 0.6649 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4614, allocations: 0 / 0.6649 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4614, allocations: 0 / 0.6649 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.4614, allocations: 0 / 0.6649 GB, free: 6.75 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.0002628/0.4616, allocations: 354.7 kB / 0.6652 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.4617, allocations: 8.812 kB / 0.6652 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.565e-05/0.4617, allocations: 39.94 kB / 0.6653 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.254e-05/0.4617, allocations: 10.3 kB / 0.6653 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.574e-05/0.4618, allocations: 164 kB / 0.6654 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.4618, allocations: 5.469 kB / 0.6654 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.4618, allocations: 1.219 kB / 0.6654 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.462, allocations: 54.16 kB / 0.6655 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.462, allocations: 5.5 kB / 0.6655 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.462, allocations: 0 / 0.6655 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.462, allocations: 5.125 kB / 0.6655 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.361e-05/0.4621, allocations: 31.52 kB / 0.6655 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.4623, allocations: 266.5 kB / 0.6658 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.212e-05/0.4624, allocations: 21.11 kB / 0.6658 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.4624, allocations: 7.328 kB / 0.6658 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-06/0.4624, allocations: 0 / 0.6658 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.4624, allocations: 36.05 kB / 0.6659 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.4624, allocations: 4 kB / 0.6659 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001472/0.4626, allocations: 69.88 kB / 0.6659 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.4626, allocations: 77.11 kB / 0.666 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.169e-05/0.4627, allocations: 122 kB / 0.6661 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.4627, allocations: 27.14 kB / 0.6661 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.013e-05/0.4627, allocations: 102.5 kB / 0.6662 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.586e-06/0.4627, allocations: 5.062 kB / 0.6662 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.4628, allocations: 25.39 kB / 0.6663 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.862e-05/0.4628, allocations: 320.2 kB / 0.6666 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.339e-05/0.4628, allocations: 14.64 kB / 0.6666 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.355e-05/0.4629, allocations: 53.75 kB / 0.6666 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.039e-05/0.463, allocations: 132.7 kB / 0.6668 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.463, allocations: 0 / 0.6668 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001241/0.4631, allocations: 127.9 kB / 0.6669 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.4631, allocations: 32.36 kB / 0.6669 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.4631, allocations: 2.312 kB / 0.6669 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4631, allocations: 2.406 kB / 0.6669 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.416e-05/0.4632, allocations: 9.812 kB / 0.6669 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4632, allocations: 7.188 kB / 0.6669 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.78e-05/0.4633, allocations: 3.75 kB / 0.6669 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.4633, allocations: 17.86 kB / 0.667 GB, free: 4.535 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 5.165e-05/0.4634, allocations: 140.8 kB / 0.6671 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.4634, allocations: 6.469 kB / 0.6671 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.708e-06/0.4634, allocations: 4.812 kB / 0.6671 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.4634, allocations: 0 / 0.6671 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.4634, allocations: 5.047 kB / 0.6671 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.4634, allocations: 3.984 kB / 0.6671 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.062e-05/0.4635, allocations: 153.4 kB / 0.6673 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4635, allocations: 1.219 kB / 0.6673 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.362e-06/0.4635, allocations: 3.984 kB / 0.6673 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.4635, allocations: 13.12 kB / 0.6673 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.4636, allocations: 1.344 kB / 0.6673 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.4636, allocations: 3.938 kB / 0.6673 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4636, allocations: 480 / 0.6673 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.309e-05/0.4636, allocations: 173.5 kB / 0.6674 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.4637, allocations: 78.58 kB / 0.6675 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.4637, allocations: 0 / 0.6675 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.428e-05/0.4637, allocations: 5.469 kB / 0.6675 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.016e-05/0.4637, allocations: 1.531 kB / 0.6675 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.4638, allocations: 2.531 kB / 0.6675 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.819e-05/0.4638, allocations: 98.44 kB / 0.6676 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4638, allocations: 0 / 0.6676 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002384/0.464, allocations: 9.094 kB / 0.6676 GB, free: 3.789 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.0002674/0.4643, allocations: 0.7142 MB / 0.6683 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.4644, allocations: 82.55 kB / 0.6684 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4644, allocations: 1.094 kB / 0.6684 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/0.4645, allocations: 59.7 kB / 0.6685 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.4647, allocations: 1.312 kB / 0.6685 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.465, allocations: 151.3 kB / 0.6686 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.635e-05/0.4651, allocations: 0.6768 MB / 0.6693 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.129e-05/0.4652, allocations: 18.81 kB / 0.6693 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.4652, allocations: 14 kB / 0.6693 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.4652, allocations: 0 / 0.6693 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.4837, allocations: 1.438 MB / 0.6707 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.342/7.826, allocations: 9.5 kB / 0.6707 GB, free: 1.258 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)