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.0006996/0.0006997, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.003997/0.003997, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.217/1.217, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7081/0.7081, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003058, allocations: 12.84 kB / 0.5041 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.35, allocations: 81.58 MB / 0.5838 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006244/0.3507, allocations: 321.4 kB / 0.5841 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002377/0.3509, allocations: 39.48 kB / 0.5841 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.487e-05/0.3509, allocations: 3.156 kB / 0.5841 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.351, allocations: 3.938 kB / 0.5841 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.697e-05/0.351, allocations: 2.75 kB / 0.5841 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.3512, allocations: 8.516 kB / 0.5841 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.196e-05/0.3512, allocations: 8.578 kB / 0.5841 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.3513, allocations: 1.062 kB / 0.5841 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.934e-05/0.3513, allocations: 4.484 kB / 0.5841 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.144e-05/0.3513, allocations: 0.875 kB / 0.5841 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.3513, allocations: 0.9062 kB / 0.5841 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.291e-05/0.3514, allocations: 16.09 kB / 0.5842 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.102e-05/0.3515, allocations: 12.05 kB / 0.5842 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.3515, allocations: 31.89 kB / 0.5842 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.644e-05/0.3516, allocations: 24.19 kB / 0.5842 GB, free: 3.734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3516, allocations: 0 / 0.5842 GB, free: 3.734 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3516, allocations: 0.7812 kB / 0.5842 GB, free: 3.734 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.3516, allocations: 0 / 0.5842 GB, free: 3.734 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.0002297/0.3519, allocations: 355.6 kB / 0.5846 GB, free: 3.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3519, allocations: 9.906 kB / 0.5846 GB, free: 3.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.514e-05/0.3519, allocations: 33.84 kB / 0.5846 GB, free: 3.301 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.352, allocations: 6.625 kB / 0.5846 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.785e-05/0.352, allocations: 171.8 kB / 0.5848 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.352, allocations: 1.75 kB / 0.5848 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.352, allocations: 2.375 kB / 0.5848 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.3522, allocations: 53.8 kB / 0.5848 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.3522, allocations: 3.938 kB / 0.5848 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.3522, allocations: 0.9062 kB / 0.5848 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.3522, allocations: 7.062 kB / 0.5848 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.116e-05/0.3523, allocations: 27.81 kB / 0.5849 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.3525, allocations: 269.1 kB / 0.5851 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.929e-05/0.3526, allocations: 21.84 kB / 0.5851 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.3526, allocations: 7.641 kB / 0.5851 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.3526, allocations: 0.75 kB / 0.5851 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.3526, allocations: 36.23 kB / 0.5852 GB, free: 2.684 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.3527, allocations: 0 / 0.5852 GB, free: 2.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001556/0.3528, allocations: 76.03 kB / 0.5853 GB, free: 2.609 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.3528, allocations: 77.83 kB / 0.5853 GB, free: 2.516 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.3529, allocations: 116.2 kB / 0.5854 GB, free: 2.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.774e-06/0.3529, allocations: 26.36 kB / 0.5855 GB, free: 2.379 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.353, allocations: 105.1 kB / 0.5856 GB, free: 2.277 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.235e-06/0.353, allocations: 9.125 kB / 0.5856 GB, free: 2.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.353, allocations: 13.08 kB / 0.5856 GB, free: 2.254 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.036e-05/0.3531, allocations: 321.4 kB / 0.5859 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.3531, allocations: 9.562 kB / 0.5859 GB, free: 1.934 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.232e-05/0.3531, allocations: 60.81 kB / 0.586 GB, free: 1.863 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.86e-05/0.3532, allocations: 132 kB / 0.5861 GB, free: 1.719 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3532, allocations: 1.281 kB / 0.5861 GB, free: 1.719 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001343/0.3534, allocations: 120.9 kB / 0.5862 GB, free: 1.633 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.3534, allocations: 32.02 kB / 0.5862 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3534, allocations: 2.969 kB / 0.5862 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3534, allocations: 2.719 kB / 0.5862 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.703e-05/0.3535, allocations: 15.16 kB / 0.5863 GB, free: 1.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3535, allocations: 8.062 kB / 0.5863 GB, free: 1.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.692e-05/0.3536, allocations: 12.38 kB / 0.5863 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.3536, allocations: 9.031 kB / 0.5863 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.313e-05/0.3537, allocations: 146.8 kB / 0.5864 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.3537, allocations: 7.5 kB / 0.5864 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.223e-05/0.3537, allocations: 4.766 kB / 0.5864 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3537, allocations: 1.25 kB / 0.5864 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3538, allocations: 0.5625 kB / 0.5864 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3538, allocations: 0 / 0.5864 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.3539, allocations: 157.6 kB / 0.5866 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3539, allocations: 1.219 kB / 0.5866 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.3539, allocations: 0 / 0.5866 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3539, allocations: 1.031 kB / 0.5866 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.423e-06/0.3539, allocations: 1.641 kB / 0.5866 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3539, allocations: 4 kB / 0.5866 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3539, allocations: 1.438 kB / 0.5866 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.4e-05/0.354, allocations: 172.1 kB / 0.5868 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.354, allocations: 82.72 kB / 0.5868 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.354, allocations: 5.188 kB / 0.5868 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.851e-05/0.3541, allocations: 2.141 kB / 0.5868 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.3541, allocations: 1.312 kB / 0.5868 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.3541, allocations: 6.531 kB / 0.5869 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.252e-05/0.3542, allocations: 93.95 kB / 0.5869 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3542, allocations: 0 / 0.5869 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.3544, allocations: 9.875 kB / 0.587 GB, free: 0.8594 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 (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.0002643/0.3547, allocations: 0.6983 MB / 0.5876 GB, free: 168 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.3548, allocations: 87.22 kB / 0.5877 GB, free: 92 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3548, allocations: 0 / 0.5877 GB, free: 92 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.835e-05/0.3549, allocations: 56.47 kB / 0.5878 GB, free: 28 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.3551, allocations: 12.45 kB / 0.5878 GB, free: 20 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.3555, allocations: 146.4 kB / 0.5879 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.3557, allocations: 0.6821 MB / 0.5886 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.003e-05/0.3557, allocations: 11.61 kB / 0.5886 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.3558, allocations: 9.984 kB / 0.5886 GB, free: 15.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3558, allocations: 0 / 0.5886 GB, free: 15.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1212/0.4769, allocations: 1.216 MB / 0.5898 GB, free: 15.03 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.4772, allocations: 207.9 kB / 0.59 GB, free: 14.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.038, allocations: 0 / 0.59 GB, free: 14.77 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/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)