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.001465/0.001465, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7288/0.7288, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.94 kB / 0.5019 GB, free: 8.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1339, allocations: 80.2 MB / 0.5802 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001798/0.1357, allocations: 0.5768 MB / 0.5808 GB, free: 8.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002024/0.136, allocations: 35.88 kB / 0.5808 GB, free: 8.035 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.892e-05/0.136, allocations: 0 / 0.5808 GB, free: 8.035 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.136, allocations: 4 kB / 0.5808 GB, free: 8.031 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.592e-05/0.1361, allocations: 3.938 kB / 0.5808 GB, free: 8.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.1362, allocations: 11.98 kB / 0.5808 GB, free: 8.016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.264e-05/0.1363, allocations: 7.984 kB / 0.5808 GB, free: 8.008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.231e-05/0.1363, allocations: 4 kB / 0.5808 GB, free: 8.004 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.498e-05/0.1364, allocations: 3.938 kB / 0.5808 GB, free: 8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.684e-05/0.1364, allocations: 0 / 0.5808 GB, free: 8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.1364, allocations: 4 kB / 0.5809 GB, free: 7.996 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.471e-05/0.1365, allocations: 23.91 kB / 0.5809 GB, free: 7.973 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.1365, allocations: 4 kB / 0.5809 GB, free: 7.969 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.1366, allocations: 11.94 kB / 0.5809 GB, free: 7.957 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.997e-05/0.1367, allocations: 19.97 kB / 0.5809 GB, free: 7.938 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1367, allocations: 0 / 0.5809 GB, free: 7.938 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1367, allocations: 0 / 0.5809 GB, free: 7.938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1367, allocations: 0 / 0.5809 GB, free: 7.938 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.0002737/0.137, allocations: 353.2 kB / 0.5812 GB, free: 7.535 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.137, allocations: 12.03 kB / 0.5813 GB, free: 7.523 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.845e-05/0.137, allocations: 38.69 kB / 0.5813 GB, free: 7.477 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.157e-05/0.1371, allocations: 4.844 kB / 0.5813 GB, free: 7.473 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.508e-05/0.1371, allocations: 172.6 kB / 0.5815 GB, free: 7.266 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1372, allocations: 4.375 kB / 0.5815 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-06/0.1372, allocations: 384 / 0.5815 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.1373, allocations: 54.25 kB / 0.5815 GB, free: 7.203 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1373, allocations: 3.938 kB / 0.5815 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.1373, allocations: 0 / 0.5815 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.1373, allocations: 8 kB / 0.5815 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.242e-05/0.1374, allocations: 27.92 kB / 0.5816 GB, free: 7.164 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002708/0.1376, allocations: 264.8 kB / 0.5818 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.72e-05/0.1377, allocations: 26.58 kB / 0.5818 GB, free: 6.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.1377, allocations: 4.859 kB / 0.5818 GB, free: 6.812 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-06/0.1377, allocations: 0 / 0.5818 GB, free: 6.812 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1378, allocations: 38.61 kB / 0.5819 GB, free: 6.766 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.1378, allocations: 0 / 0.5819 GB, free: 6.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001502/0.1379, allocations: 67.34 kB / 0.5819 GB, free: 6.688 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.138, allocations: 85.23 kB / 0.582 GB, free: 6.586 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.678e-05/0.138, allocations: 113.8 kB / 0.5821 GB, free: 6.465 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.1381, allocations: 25.7 kB / 0.5822 GB, free: 6.434 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.1381, allocations: 103.9 kB / 0.5823 GB, free: 6.328 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.293e-06/0.1381, allocations: 7.906 kB / 0.5823 GB, free: 6.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.1382, allocations: 25.7 kB / 0.5823 GB, free: 6.289 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.1382, allocations: 314.8 kB / 0.5826 GB, free: 5.973 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/0.1383, allocations: 12 kB / 0.5826 GB, free: 5.961 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.723e-05/0.1383, allocations: 58.86 kB / 0.5827 GB, free: 5.879 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.458e-05/0.1384, allocations: 138.1 kB / 0.5828 GB, free: 5.707 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1384, allocations: 0 / 0.5828 GB, free: 5.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001396/0.1386, allocations: 119.4 kB / 0.5829 GB, free: 5.578 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.1386, allocations: 37.77 kB / 0.5829 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.1386, allocations: 7.922 kB / 0.5829 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1386, allocations: 4 kB / 0.5829 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.787e-05/0.1387, allocations: 12 kB / 0.583 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1387, allocations: 7.875 kB / 0.583 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.373e-05/0.1388, allocations: 15.84 kB / 0.583 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.1388, allocations: 11.94 kB / 0.583 GB, free: 5.477 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.224e-05/0.1389, allocations: 139.5 kB / 0.5831 GB, free: 5.324 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.1389, allocations: 8 kB / 0.5831 GB, free: 5.316 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.106e-05/0.1389, allocations: 7.531 kB / 0.5831 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.1389, allocations: 0 / 0.5831 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1389, allocations: 0 / 0.5831 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.1389, allocations: 0 / 0.5831 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.1391, allocations: 153.6 kB / 0.5833 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1391, allocations: 0 / 0.5833 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-06/0.1391, allocations: 4 kB / 0.5833 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1391, allocations: 3.984 kB / 0.5833 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.1391, allocations: 0 / 0.5833 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.1391, allocations: 0 / 0.5833 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1391, allocations: 4 kB / 0.5833 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.1392, allocations: 169 kB / 0.5835 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.912e-05/0.1393, allocations: 81.09 kB / 0.5835 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.1393, allocations: 4 kB / 0.5835 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.999e-05/0.1394, allocations: 0 / 0.5835 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.1394, allocations: 0 / 0.5835 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1394, allocations: 8 kB / 0.5835 GB, free: 4.801 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.107e-05/0.1394, allocations: 95.23 kB / 0.5836 GB, free: 4.707 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1394, allocations: 0 / 0.5836 GB, free: 4.707 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.1397, allocations: 8 kB / 0.5836 GB, free: 4.699 MB / 494.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.0003524/0.14, allocations: 0.7024 MB / 0.5843 GB, free: 3.961 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.1401, allocations: 87.36 kB / 0.5844 GB, free: 3.863 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1402, allocations: 0 / 0.5844 GB, free: 3.863 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.773e-05/0.1402, allocations: 59.39 kB / 0.5845 GB, free: 3.793 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.1404, allocations: 4 kB / 0.5845 GB, free: 3.789 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.1407, allocations: 146.4 kB / 0.5846 GB, free: 3.605 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.1409, allocations: 0.6812 MB / 0.5853 GB, free: 2.898 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.383e-05/0.141, allocations: 19.72 kB / 0.5853 GB, free: 2.879 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.971e-05/0.141, allocations: 15.44 kB / 0.5853 GB, free: 2.867 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.141, allocations: 3.938 kB / 0.5853 GB, free: 2.863 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.117/2.258, allocations: 1.397 MB / 0.5867 GB, free: 1.586 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/13.54, allocations: 7.125 kB / 0.5867 GB, free: 1.582 MB / 494.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)