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.002017/0.002017, allocations: 99.55 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.002027/0.002027, allocations: 177.3 kB / 15.94 MB, free: 228 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.306/2.306, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.234/1.234, allocations: 132.2 MB / 423.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005802/0.0005803, allocations: 12 kB / 0.5033 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7692/0.7699, allocations: 81.58 MB / 0.583 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0012/0.7711, allocations: 311 kB / 0.5833 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003029/0.7715, allocations: 34.27 kB / 0.5833 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.7715, allocations: 0 / 0.5833 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.409e-05/0.7716, allocations: 5.406 kB / 0.5833 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.99e-05/0.7716, allocations: 1.031 kB / 0.5833 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.7719, allocations: 5.172 kB / 0.5833 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.729e-05/0.772, allocations: 7.141 kB / 0.5833 GB, free: 3.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.22e-05/0.772, allocations: 2.031 kB / 0.5833 GB, free: 3.656 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.195e-05/0.7721, allocations: 6.719 kB / 0.5833 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.756e-05/0.7721, allocations: 6.406 kB / 0.5833 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.7722, allocations: 0.8438 kB / 0.5833 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.7723, allocations: 15.03 kB / 0.5834 GB, free: 3.645 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.7723, allocations: 3.938 kB / 0.5834 GB, free: 3.645 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.7724, allocations: 30.58 kB / 0.5834 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.855e-05/0.7725, allocations: 15.75 kB / 0.5834 GB, free: 3.605 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7725, allocations: 0 / 0.5834 GB, free: 3.605 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.7725, allocations: 3.938 kB / 0.5834 GB, free: 3.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.7725, allocations: 0 / 0.5834 GB, free: 3.602 MB / 430.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.0003592/0.7729, allocations: 351.1 kB / 0.5837 GB, free: 3.215 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.443e-05/0.773, allocations: 13.81 kB / 0.5838 GB, free: 3.211 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.773, allocations: 37.28 kB / 0.5838 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.7731, allocations: 1.484 kB / 0.5838 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.631e-05/0.7732, allocations: 167 kB / 0.5839 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.7732, allocations: 1.594 kB / 0.584 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.7732, allocations: 0.9375 kB / 0.584 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.7734, allocations: 66 kB / 0.584 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.7734, allocations: 0.9375 kB / 0.584 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.7735, allocations: 0 / 0.584 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/0.7735, allocations: 11.33 kB / 0.584 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.258e-05/0.7736, allocations: 23.03 kB / 0.584 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.774, allocations: 261.4 kB / 0.5843 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.129e-05/0.7741, allocations: 18.58 kB / 0.5843 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-06/0.7741, allocations: 0 / 0.5843 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.7742, allocations: 43.78 kB / 0.5844 GB, free: 2.562 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.7742, allocations: 5.094 kB / 0.5844 GB, free: 2.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.000249/0.7745, allocations: 67.44 kB / 0.5844 GB, free: 2.492 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.7745, allocations: 79.3 kB / 0.5845 GB, free: 2.398 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.7746, allocations: 118.5 kB / 0.5846 GB, free: 2.289 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.7747, allocations: 25.7 kB / 0.5846 GB, free: 2.258 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.7747, allocations: 97.7 kB / 0.5847 GB, free: 2.164 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.7748, allocations: 9.562 kB / 0.5847 GB, free: 2.156 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.7748, allocations: 4.781 kB / 0.5847 GB, free: 2.152 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.082e-05/0.7749, allocations: 317.9 kB / 0.585 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.103e-05/0.7749, allocations: 12.28 kB / 0.5851 GB, free: 1.832 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.637e-05/0.775, allocations: 65.17 kB / 0.5851 GB, free: 1.758 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.872e-05/0.7751, allocations: 45.08 kB / 0.5852 GB, free: 1.723 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.7751, allocations: 0 / 0.5852 GB, free: 1.723 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002677/0.7754, allocations: 120.2 kB / 0.5853 GB, free: 1.637 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.7755, allocations: 32.47 kB / 0.5853 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.7755, allocations: 6.234 kB / 0.5853 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.7756, allocations: 11.38 kB / 0.5853 GB, free: 1.594 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.7757, allocations: 15.95 kB / 0.5853 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.7757, allocations: 6.953 kB / 0.5853 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.7758, allocations: 8.125 kB / 0.5854 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.7759, allocations: 6.734 kB / 0.5854 GB, free: 1.582 MB / 430.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.0001208/0.776, allocations: 142.5 kB / 0.5855 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.7761, allocations: 1.812 kB / 0.5855 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.7761, allocations: 5.531 kB / 0.5855 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.7761, allocations: 5.75 kB / 0.5855 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.7761, allocations: 3.953 kB / 0.5855 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.7762, allocations: 0.6875 kB / 0.5855 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.7764, allocations: 153.2 kB / 0.5857 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.7764, allocations: 6 kB / 0.5857 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-06/0.7764, allocations: 0 / 0.5857 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7764, allocations: 0 / 0.5857 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.7764, allocations: 1.938 kB / 0.5857 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.7764, allocations: 0 / 0.5857 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.7765, allocations: 0.6875 kB / 0.5857 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.7766, allocations: 173.6 kB / 0.5858 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.7767, allocations: 81.62 kB / 0.5859 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.7767, allocations: 1.672 kB / 0.5859 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.7768, allocations: 2.5 kB / 0.5859 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.7769, allocations: 0.9062 kB / 0.5859 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.7769, allocations: 2.688 kB / 0.5859 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.777e-05/0.777, allocations: 97.12 kB / 0.586 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.777, allocations: 0.9375 kB / 0.586 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004976/0.7775, allocations: 13.41 kB / 0.586 GB, free: 0.8633 MB / 430.1 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.0004798/0.778, allocations: 0.6971 MB / 0.5867 GB, free: 172 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.7782, allocations: 92.55 kB / 0.5868 GB, free: 92 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7783, allocations: 0 / 0.5868 GB, free: 92 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.314e-05/0.7783, allocations: 56 kB / 0.5869 GB, free: 28 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.7786, allocations: 4.859 kB / 0.5869 GB, free: 28 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006643/0.7792, allocations: 149.8 kB / 0.587 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.7798, allocations: 0.6797 MB / 0.5877 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.78, allocations: 16.41 kB / 0.5877 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.7801, allocations: 10.09 kB / 0.5877 GB, free: 15.16 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.7801, allocations: 0 / 0.5877 GB, free: 15.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.7994, allocations: 1.202 MB / 0.5889 GB, free: 15.03 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00037/0.7998, allocations: 192.3 kB / 0.589 GB, free: 14.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/3.345, allocations: 2.672 kB / 0.589 GB, free: 14.79 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: