Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.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.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",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.001078/0.001078, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001701/0.001702, allocations: 193.9 kB / 16.14 MB, free: 6.715 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.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.803/0.803, allocations: 132.2 MB / 422.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002675/0.002675, allocations: 59.78 kB / 0.5012 GB, free: 9.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2208, allocations: 80.2 MB / 0.5795 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.002357/0.2232, allocations: 0.6432 MB / 0.5801 GB, free: 8.512 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 4.963e-05/0.2233, allocations: 4 kB / 0.5801 GB, free: 8.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.2233, allocations: 0 / 0.5801 GB, free: 8.508 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.2233, allocations: 0 / 0.5801 GB, free: 8.508 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.2234, allocations: 0 / 0.5801 GB, free: 8.508 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.162e-05/0.2234, allocations: 4 kB / 0.5801 GB, free: 8.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.131e-05/0.2235, allocations: 4 kB / 0.5801 GB, free: 8.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.439e-05/0.2235, allocations: 3.938 kB / 0.5801 GB, free: 8.496 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.332e-05/0.2235, allocations: 0 / 0.5801 GB, free: 8.496 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.309e-05/0.2236, allocations: 3.938 kB / 0.5801 GB, free: 8.492 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.2236, allocations: 0 / 0.5801 GB, free: 8.492 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.577e-06/0.2236, allocations: 0 / 0.5801 GB, free: 8.492 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.2236, allocations: 7.922 kB / 0.5801 GB, free: 8.484 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.2236, allocations: 4 kB / 0.5802 GB, free: 8.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.649e-05/0.2237, allocations: 4 kB / 0.5802 GB, free: 8.477 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2237, allocations: 0 / 0.5802 GB, free: 8.477 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.2237, allocations: 4 kB / 0.5802 GB, free: 8.473 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2237, allocations: 0 / 0.5802 GB, free: 8.473 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003061/0.224, allocations: 311.6 kB / 0.5805 GB, free: 8.117 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.2241, allocations: 8.031 kB / 0.5805 GB, free: 8.109 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.2241, allocations: 30.75 kB / 0.5805 GB, free: 8.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.2242, allocations: 0.9375 kB / 0.5805 GB, free: 8.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.2243, allocations: 160.4 kB / 0.5806 GB, free: 7.875 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.2243, allocations: 384 / 0.5806 GB, free: 7.875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.2243, allocations: 4.375 kB / 0.5807 GB, free: 7.871 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.2244, allocations: 38.25 kB / 0.5807 GB, free: 7.828 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2244, allocations: 7.938 kB / 0.5807 GB, free: 7.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.2245, allocations: 0 / 0.5807 GB, free: 7.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2245, allocations: 0 / 0.5807 GB, free: 7.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.026e-05/0.2245, allocations: 7.938 kB / 0.5807 GB, free: 7.812 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.2247, allocations: 141.7 kB / 0.5808 GB, free: 7.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.058e-05/0.2247, allocations: 14.58 kB / 0.5809 GB, free: 7.602 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.2247, allocations: 16.95 kB / 0.5809 GB, free: 7.582 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.2248, allocations: 0 / 0.5809 GB, free: 7.582 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.2248, allocations: 34.56 kB / 0.5809 GB, free: 7.539 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2248, allocations: 0 / 0.5809 GB, free: 7.539 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001436/0.225, allocations: 45.56 kB / 0.5809 GB, free: 7.488 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.225, allocations: 55.34 kB / 0.581 GB, free: 7.422 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.29e-05/0.2251, allocations: 89.86 kB / 0.5811 GB, free: 7.324 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.2251, allocations: 25.7 kB / 0.5811 GB, free: 7.293 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.2251, allocations: 84.27 kB / 0.5812 GB, free: 7.207 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.2252, allocations: 3.906 kB / 0.5812 GB, free: 7.203 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.2252, allocations: 17.72 kB / 0.5812 GB, free: 7.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2253, allocations: 310.8 kB / 0.5815 GB, free: 6.867 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.2253, allocations: 0 / 0.5815 GB, free: 6.867 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.214e-06/0.2254, allocations: 0 / 0.5815 GB, free: 6.867 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.643e-05/0.2254, allocations: 12.84 kB / 0.5815 GB, free: 6.852 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2254, allocations: 8 kB / 0.5815 GB, free: 6.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.195e-05/0.2255, allocations: 33.7 kB / 0.5816 GB, free: 6.805 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.2255, allocations: 8 kB / 0.5816 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2255, allocations: 3.938 kB / 0.5816 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2255, allocations: 0 / 0.5816 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.2256, allocations: 0 / 0.5816 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2256, allocations: 0 / 0.5816 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.11e-05/0.2257, allocations: 3.938 kB / 0.5816 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.2257, allocations: 4 kB / 0.5816 GB, free: 6.785 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 8.927e-05/0.2258, allocations: 110.5 kB / 0.5817 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-06/0.2258, allocations: 0 / 0.5817 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.2258, allocations: 11.05 kB / 0.5817 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2258, allocations: 0 / 0.5817 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2258, allocations: 0 / 0.5817 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2258, allocations: 0 / 0.5817 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.226, allocations: 146 kB / 0.5818 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.226, allocations: 0 / 0.5818 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.578e-05/0.226, allocations: 0 / 0.5818 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.226, allocations: 0 / 0.5818 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.226, allocations: 3.938 kB / 0.5818 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.226, allocations: 15.92 kB / 0.5819 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.226, allocations: 0 / 0.5819 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.551e-05/0.2261, allocations: 53.14 kB / 0.5819 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.2262, allocations: 77.11 kB / 0.582 GB, free: 6.277 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.2262, allocations: 3.938 kB / 0.582 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.528e-05/0.2262, allocations: 11.98 kB / 0.582 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.2262, allocations: 3.938 kB / 0.582 GB, free: 6.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.2263, allocations: 8.016 kB / 0.582 GB, free: 6.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.622e-05/0.2263, allocations: 75.28 kB / 0.5821 GB, free: 6.176 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2263, allocations: 0 / 0.5821 GB, free: 6.176 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002061/0.2265, allocations: 4 kB / 0.5821 GB, free: 6.172 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): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0004643/0.227, allocations: 0.5928 MB / 0.5827 GB, free: 5.551 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.2271, allocations: 11.98 kB / 0.5827 GB, free: 5.539 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2271, allocations: 0 / 0.5827 GB, free: 5.539 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.831e-06/0.2271, allocations: 0 / 0.5827 GB, free: 5.539 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.2273, allocations: 4 kB / 0.5827 GB, free: 5.535 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.2277, allocations: 100.4 kB / 0.5828 GB, free: 5.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.2279, allocations: 0.6692 MB / 0.5834 GB, free: 4.699 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.338e-05/0.2279, allocations: 7.938 kB / 0.5834 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.228, allocations: 7.562 kB / 0.5834 GB, free: 4.684 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.228, allocations: 4 kB / 0.5834 GB, free: 4.68 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01084/0.2388, allocations: 0.7426 MB / 0.5842 GB, free: 4.031 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/0.2391, allocations: 173.8 kB / 0.5843 GB, free: 3.777 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.005, allocations: 0 / 0.5843 GB, free: 3.777 MB / 494.1 MB (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)