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.004747/0.004747, allocations: 100.9 kB / 15.73 MB, free: 6.012 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.00109/0.00109, allocations: 198.7 kB / 16.68 MB, free: 5.93 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.907/0.907, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 71.89 kB / 0.5852 GB, free: 3.785 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.455, allocations: 80.9 MB / 0.6642 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001722/0.4568, allocations: 0.5752 MB / 0.6648 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002526/0.457, allocations: 45.92 kB / 0.6648 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.737e-05/0.4571, allocations: 1.25 kB / 0.6648 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.4571, allocations: 3.938 kB / 0.6648 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.183e-05/0.4572, allocations: 5.312 kB / 0.6648 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.4574, allocations: 15.64 kB / 0.6648 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.884e-05/0.4575, allocations: 0 / 0.6648 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.752e-05/0.4575, allocations: 1.75 kB / 0.6648 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.303e-05/0.4575, allocations: 1.562 kB / 0.6648 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.387e-05/0.4576, allocations: 5.422 kB / 0.6648 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.4576, allocations: 0 / 0.6648 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.518e-05/0.4577, allocations: 20.8 kB / 0.6648 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.4577, allocations: 5.328 kB / 0.6649 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.4577, allocations: 6.406 kB / 0.6649 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.988e-05/0.4578, allocations: 20.61 kB / 0.6649 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4578, allocations: 5.406 kB / 0.6649 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4578, allocations: 3.938 kB / 0.6649 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.4579, allocations: 0 / 0.6649 GB, free: 6.719 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.0002631/0.4581, allocations: 357.9 kB / 0.6652 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4582, allocations: 10.06 kB / 0.6652 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.563e-05/0.4582, allocations: 31.84 kB / 0.6653 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.4582, allocations: 2 kB / 0.6653 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.292e-05/0.4583, allocations: 166.6 kB / 0.6654 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.4583, allocations: 1.656 kB / 0.6654 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.4583, allocations: 9.984 kB / 0.6654 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.4585, allocations: 53.81 kB / 0.6655 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.4585, allocations: 5.094 kB / 0.6655 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.4585, allocations: 0 / 0.6655 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.4585, allocations: 8.875 kB / 0.6655 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.701e-05/0.4586, allocations: 28.83 kB / 0.6655 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002404/0.4588, allocations: 265.6 kB / 0.6658 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.426e-05/0.4589, allocations: 21.2 kB / 0.6658 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.731e-05/0.4589, allocations: 10.12 kB / 0.6658 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.4589, allocations: 0 / 0.6658 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.4589, allocations: 35.69 kB / 0.6659 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.4589, allocations: 1.188 kB / 0.6659 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001557/0.4591, allocations: 68.89 kB / 0.6659 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.4591, allocations: 78.23 kB / 0.666 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.445e-05/0.4592, allocations: 130 kB / 0.6661 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.315e-06/0.4592, allocations: 27.2 kB / 0.6661 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.4592, allocations: 97.28 kB / 0.6662 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.412e-06/0.4593, allocations: 5.344 kB / 0.6662 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.4593, allocations: 22.41 kB / 0.6663 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.612e-05/0.4593, allocations: 324 kB / 0.6666 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.4594, allocations: 7.5 kB / 0.6666 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.924e-05/0.4594, allocations: 68.77 kB / 0.6666 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.239e-05/0.4595, allocations: 128.2 kB / 0.6668 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4595, allocations: 1.219 kB / 0.6668 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001175/0.4596, allocations: 119 kB / 0.6669 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.4597, allocations: 40.16 kB / 0.6669 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4597, allocations: 6.406 kB / 0.6669 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4597, allocations: 2.594 kB / 0.6669 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.4598, allocations: 9.688 kB / 0.6669 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4598, allocations: 6.438 kB / 0.6669 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.18e-05/0.4598, allocations: 4.625 kB / 0.6669 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.4599, allocations: 10.41 kB / 0.667 GB, free: 4.508 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.754e-05/0.4599, allocations: 144.5 kB / 0.6671 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.4599, allocations: 5.094 kB / 0.6671 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.136e-05/0.46, allocations: 13.88 kB / 0.6671 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.46, allocations: 0 / 0.6671 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.46, allocations: 0 / 0.6671 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.46, allocations: 1.219 kB / 0.6671 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.804e-05/0.4601, allocations: 157.5 kB / 0.6673 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.4601, allocations: 0 / 0.6673 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.4601, allocations: 1.5 kB / 0.6673 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4601, allocations: 0 / 0.6673 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.4601, allocations: 9.719 kB / 0.6673 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.4601, allocations: 0 / 0.6673 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4601, allocations: 3.984 kB / 0.6673 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.123e-05/0.4602, allocations: 174 kB / 0.6674 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.4602, allocations: 81.09 kB / 0.6675 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.4602, allocations: 5.234 kB / 0.6675 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.357e-05/0.4603, allocations: 1.375 kB / 0.6675 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.4603, allocations: 1.344 kB / 0.6675 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.4603, allocations: 1.281 kB / 0.6675 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.988e-05/0.4604, allocations: 95.83 kB / 0.6676 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4604, allocations: 4.031 kB / 0.6676 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002374/0.4606, allocations: 8.406 kB / 0.6676 GB, free: 3.758 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.0002656/0.4609, allocations: 0.7045 MB / 0.6683 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.461, allocations: 87.27 kB / 0.6684 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.461, allocations: 0 / 0.6684 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-05/0.461, allocations: 60.16 kB / 0.6685 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.4612, allocations: 3.75 kB / 0.6685 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.4616, allocations: 150.3 kB / 0.6686 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.4617, allocations: 0.6776 MB / 0.6693 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.34e-05/0.4618, allocations: 18.52 kB / 0.6693 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.4618, allocations: 14.17 kB / 0.6693 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of SimCode: time 9.21e-07/0.4618, allocations: 0 / 0.6693 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.4783, allocations: 1.444 MB / 0.6707 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.311/7.79, allocations: 11.7 kB / 0.6707 GB, free: 1.227 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)