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.001405/0.001405, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.002059/0.002059, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.398/2.398, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.653/1.653, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005698/0.0005702, allocations: 12 kB / 0.5069 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2537, allocations: 82.31 MB / 0.5873 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0009525/0.2548, allocations: 311.1 kB / 0.5876 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002242/0.255, allocations: 27.92 kB / 0.5876 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.979e-05/0.255, allocations: 3.938 kB / 0.5876 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.584e-05/0.2551, allocations: 4 kB / 0.5876 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.459e-05/0.2552, allocations: 4 kB / 0.5876 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.2554, allocations: 7.984 kB / 0.5876 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.153e-05/0.2554, allocations: 3.984 kB / 0.5876 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.2555, allocations: 0 / 0.5876 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.198e-05/0.2555, allocations: 8 kB / 0.5876 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.82e-05/0.2556, allocations: 3.938 kB / 0.5877 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.2556, allocations: 4 kB / 0.5877 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-05/0.2557, allocations: 15.98 kB / 0.5877 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/0.2558, allocations: 4 kB / 0.5877 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.2558, allocations: 29.69 kB / 0.5877 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.483e-05/0.2559, allocations: 11.98 kB / 0.5877 GB, free: 2.555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.2559, allocations: 3.938 kB / 0.5877 GB, free: 2.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2559, allocations: 0 / 0.5877 GB, free: 2.551 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.2559, allocations: 0 / 0.5877 GB, free: 2.551 MB / 494.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.000399/0.2564, allocations: 345.1 kB / 0.588 GB, free: 2.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.2564, allocations: 12.03 kB / 0.5881 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.515e-05/0.2565, allocations: 34.55 kB / 0.5881 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.2565, allocations: 7.906 kB / 0.5881 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.2567, allocations: 171.2 kB / 0.5883 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.2567, allocations: 0 / 0.5883 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.2567, allocations: 3.984 kB / 0.5883 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.2569, allocations: 53.69 kB / 0.5883 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2569, allocations: 0 / 0.5883 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.257, allocations: 4 kB / 0.5883 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-05/0.257, allocations: 11.98 kB / 0.5883 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.996e-05/0.2571, allocations: 27.98 kB / 0.5884 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.2576, allocations: 260.7 kB / 0.5886 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.87e-05/0.2577, allocations: 22.56 kB / 0.5886 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.2578, allocations: 0 / 0.5886 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.2578, allocations: 30.56 kB / 0.5887 GB, free: 1.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.824e-06/0.2578, allocations: 0 / 0.5887 GB, free: 1.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000256/0.2581, allocations: 79.36 kB / 0.5887 GB, free: 1.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/0.2582, allocations: 77.11 kB / 0.5888 GB, free: 1.227 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.2583, allocations: 117.8 kB / 0.5889 GB, free: 1.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.2584, allocations: 29.7 kB / 0.5889 GB, free: 1.066 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.651e-05/0.2585, allocations: 99.8 kB / 0.589 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.2585, allocations: 3.906 kB / 0.589 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.269e-05/0.2585, allocations: 8 kB / 0.5891 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2587, allocations: 314.8 kB / 0.5894 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.521e-05/0.2588, allocations: 12.12 kB / 0.5894 GB, free: 0.625 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.2589, allocations: 66.86 kB / 0.5894 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.635e-05/0.259, allocations: 53.62 kB / 0.5895 GB, free: 488 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.259, allocations: 0 / 0.5895 GB, free: 488 kB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002869/0.2593, allocations: 115.2 kB / 0.5896 GB, free: 360 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.928e-05/0.2594, allocations: 33.7 kB / 0.5896 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2594, allocations: 0 / 0.5896 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.2595, allocations: 8.188 kB / 0.5896 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.2596, allocations: 27.88 kB / 0.5897 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.2596, allocations: 0 / 0.5897 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.2598, allocations: 11.84 kB / 0.5897 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.2598, allocations: 8 kB / 0.5897 GB, free: 264 kB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001496/0.26, allocations: 147.5 kB / 0.5898 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.26, allocations: 4 kB / 0.5898 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.2601, allocations: 3.531 kB / 0.5898 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2601, allocations: 0 / 0.5898 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.2601, allocations: 3.953 kB / 0.5898 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2601, allocations: 4 kB / 0.5898 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.2604, allocations: 153.7 kB / 0.59 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2604, allocations: 0 / 0.59 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-06/0.2604, allocations: 4 kB / 0.59 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2604, allocations: 0 / 0.59 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.2605, allocations: 0 / 0.59 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2605, allocations: 0 / 0.59 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2605, allocations: 0 / 0.59 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.2607, allocations: 173.2 kB / 0.5901 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/0.2608, allocations: 81.02 kB / 0.5902 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.2608, allocations: 4 kB / 0.5902 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.2609, allocations: 0 / 0.5902 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.261, allocations: 3.984 kB / 0.5902 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.261, allocations: 4 kB / 0.5902 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.232e-05/0.2611, allocations: 91.22 kB / 0.5903 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2611, allocations: 0 / 0.5903 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005136/0.2616, allocations: 11.95 kB / 0.5903 GB, free: 15.47 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 (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.0007422/0.2624, allocations: 0.7064 MB / 0.591 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.2627, allocations: 83.33 kB / 0.5911 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2627, allocations: 0.5312 kB / 0.5911 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.559e-05/0.2628, allocations: 67.34 kB / 0.5912 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.263, allocations: 0 / 0.5912 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006419/0.2636, allocations: 152.3 kB / 0.5913 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.264, allocations: 0.6809 MB / 0.592 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001228/0.2642, allocations: 12.17 kB / 0.592 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.2642, allocations: 19.48 kB / 0.592 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.2642, allocations: 0 / 0.592 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.2887, allocations: 1.192 MB / 0.5932 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003305/0.2891, allocations: 198.3 kB / 0.5934 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.901/3.19, allocations: 0 / 0.5934 GB, free: 12.36 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/linux/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) Environment - environmentSimulation: