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.006128/0.006128, allocations: 98.52 kB / 15.73 MB, free: 6.062 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.001451/0.001451, allocations: 196.4 kB / 16.67 MB, free: 5.973 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8302/0.8302, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002483/0.002483, allocations: 68.61 kB / 0.5808 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2166, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.002188/0.2189, allocations: 0.5853 MB / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 4.64e-05/0.2189, allocations: 3.984 kB / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.122e-05/0.219, allocations: 0 / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.219, allocations: 0 / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.802e-06/0.219, allocations: 0 / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.431e-05/0.2191, allocations: 0 / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.486e-05/0.2191, allocations: 4 kB / 0.6597 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.64e-05/0.2192, allocations: 4 kB / 0.6597 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.092e-05/0.2192, allocations: 4 kB / 0.6597 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.3e-05/0.2193, allocations: 3.938 kB / 0.6597 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.2193, allocations: 0 / 0.6597 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.162e-06/0.2193, allocations: 0 / 0.6597 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.2193, allocations: 3.938 kB / 0.6598 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.2193, allocations: 4 kB / 0.6598 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.707e-05/0.2194, allocations: 0 / 0.6598 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2194, allocations: 0 / 0.6598 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2194, allocations: 3.938 kB / 0.6598 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.2194, allocations: 0 / 0.6598 GB, free: 10.17 MB / 0.4981 GB 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.0003854/0.2198, allocations: 315.6 kB / 0.6601 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.2199, allocations: 8.031 kB / 0.6601 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.2199, allocations: 30.75 kB / 0.6601 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.974e-05/0.22, allocations: 0.9375 kB / 0.6601 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.2201, allocations: 166.9 kB / 0.6603 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.2202, allocations: 4.375 kB / 0.6603 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.2202, allocations: 384 / 0.6603 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.2203, allocations: 34.25 kB / 0.6603 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.2203, allocations: 7.938 kB / 0.6603 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2203, allocations: 0 / 0.6603 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2203, allocations: 0 / 0.6603 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.617e-05/0.2204, allocations: 7.938 kB / 0.6603 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.2206, allocations: 141.7 kB / 0.6604 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.224e-05/0.2206, allocations: 18.58 kB / 0.6605 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.2206, allocations: 8.953 kB / 0.6605 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.2207, allocations: 0 / 0.6605 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.2207, allocations: 38.55 kB / 0.6605 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.635e-06/0.2207, allocations: 7.922 kB / 0.6605 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001244/0.2208, allocations: 41.58 kB / 0.6606 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.2209, allocations: 51.41 kB / 0.6606 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.599e-05/0.221, allocations: 93.86 kB / 0.6607 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.221, allocations: 25.7 kB / 0.6607 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.221, allocations: 80.14 kB / 0.6608 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.221, allocations: 12.3 kB / 0.6608 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.2211, allocations: 14.06 kB / 0.6608 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2212, allocations: 310.8 kB / 0.6611 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-06/0.2212, allocations: 0 / 0.6611 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-06/0.2213, allocations: 0 / 0.6611 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.998e-05/0.2213, allocations: 16.84 kB / 0.6611 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2213, allocations: 0 / 0.6611 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.826e-05/0.2213, allocations: 33.73 kB / 0.6612 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2214, allocations: 12 kB / 0.6612 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2214, allocations: 3.938 kB / 0.6612 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2214, allocations: 0 / 0.6612 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.234e-05/0.2215, allocations: 0 / 0.6612 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2215, allocations: 0 / 0.6612 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.394e-05/0.2215, allocations: 4 kB / 0.6612 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.2215, allocations: 0 / 0.6612 GB, free: 8.477 MB / 0.4981 GB 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.314e-05/0.2216, allocations: 106.7 kB / 0.6613 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/0.2216, allocations: 3.984 kB / 0.6613 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.181e-05/0.2216, allocations: 15 kB / 0.6613 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.2216, allocations: 0 / 0.6613 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2216, allocations: 0 / 0.6613 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2216, allocations: 4 kB / 0.6613 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.2218, allocations: 149.7 kB / 0.6614 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2218, allocations: 0 / 0.6614 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.687e-06/0.2218, allocations: 0 / 0.6614 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/0.2218, allocations: 0 / 0.6614 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2218, allocations: 11.92 kB / 0.6615 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2218, allocations: 0 / 0.6615 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2218, allocations: 0 / 0.6615 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.746e-05/0.2219, allocations: 61.08 kB / 0.6615 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.2219, allocations: 77.11 kB / 0.6616 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.222, allocations: 11.88 kB / 0.6616 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-06/0.222, allocations: 4 kB / 0.6616 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-06/0.222, allocations: 3.984 kB / 0.6616 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-06/0.222, allocations: 0 / 0.6616 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.273e-05/0.222, allocations: 79.31 kB / 0.6617 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.222, allocations: 4 kB / 0.6617 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000172/0.2222, allocations: 0 / 0.6617 GB, free: 7.855 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): 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.0003833/0.2226, allocations: 0.589 MB / 0.6623 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.155e-05/0.2227, allocations: 8.016 kB / 0.6623 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.2227, allocations: 4.062 kB / 0.6623 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.368e-06/0.2227, allocations: 0 / 0.6623 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.2228, allocations: 4 kB / 0.6623 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.2231, allocations: 102.6 kB / 0.6624 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.2234, allocations: 0.6729 MB / 0.663 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.179e-05/0.2235, allocations: 3.984 kB / 0.663 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.857e-05/0.2235, allocations: 7.438 kB / 0.663 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of SimCode: time 2.043e-06/0.2235, allocations: 0 / 0.663 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.2429, allocations: 0.8749 MB / 0.6639 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.248, allocations: 5.719 kB / 0.6639 GB, free: 5.562 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)