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.006418/0.006418, allocations: 102 kB / 15.73 MB, free: 6.441 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.001522/0.001522, allocations: 195.8 kB / 16.67 MB, free: 6.352 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7869/0.7869, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 70.33 kB / 0.5808 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2018, allocations: 80.2 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001788/0.2036, allocations: 0.5863 MB / 0.6597 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 4.001e-05/0.2037, allocations: 0 / 0.6597 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.817e-05/0.2037, allocations: 0 / 0.6597 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.2038, allocations: 0 / 0.6597 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/0.2038, allocations: 0 / 0.6597 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.432e-05/0.2039, allocations: 4 kB / 0.6597 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.891e-05/0.2039, allocations: 4 kB / 0.6597 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.577e-05/0.204, allocations: 4 kB / 0.6597 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.813e-05/0.204, allocations: 7.812 kB / 0.6597 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.827e-05/0.204, allocations: 3.938 kB / 0.6598 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.204, allocations: 0 / 0.6598 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.206e-06/0.204, allocations: 0 / 0.6598 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.2041, allocations: 0 / 0.6598 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.2041, allocations: 0 / 0.6598 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.111e-05/0.2041, allocations: 4 kB / 0.6598 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.2042, allocations: 3.984 kB / 0.6598 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2042, allocations: 4 kB / 0.6598 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2042, allocations: 0 / 0.6598 GB, free: 13.42 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.0002458/0.2044, allocations: 303.6 kB / 0.6601 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2045, allocations: 12.06 kB / 0.6601 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.028e-05/0.2045, allocations: 38.69 kB / 0.6601 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.726e-05/0.2045, allocations: 0.9375 kB / 0.6601 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.731e-05/0.2046, allocations: 164.4 kB / 0.6603 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2046, allocations: 384 / 0.6603 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.2046, allocations: 384 / 0.6603 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.606e-05/0.2047, allocations: 34.27 kB / 0.6603 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2048, allocations: 3.938 kB / 0.6603 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.2048, allocations: 0 / 0.6603 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.2048, allocations: 0 / 0.6603 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.124e-05/0.2048, allocations: 0 / 0.6603 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.205, allocations: 149.6 kB / 0.6604 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.317e-05/0.205, allocations: 22.52 kB / 0.6605 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.205, allocations: 16.94 kB / 0.6605 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.2051, allocations: 0 / 0.6605 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.2051, allocations: 30.56 kB / 0.6605 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2051, allocations: 0 / 0.6605 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001232/0.2052, allocations: 37.64 kB / 0.6605 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.2053, allocations: 59.34 kB / 0.6606 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.448e-05/0.2053, allocations: 89.86 kB / 0.6607 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.2053, allocations: 25.7 kB / 0.6607 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.2054, allocations: 84.27 kB / 0.6608 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.2054, allocations: 8.172 kB / 0.6608 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.2054, allocations: 10.06 kB / 0.6608 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2056, allocations: 318.8 kB / 0.6611 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-06/0.2056, allocations: 0 / 0.6611 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.99e-06/0.2056, allocations: 0 / 0.6611 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.443e-05/0.2056, allocations: 12.86 kB / 0.6611 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2056, allocations: 4.062 kB / 0.6611 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.376e-05/0.2057, allocations: 33.64 kB / 0.6612 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2057, allocations: 4 kB / 0.6612 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2057, allocations: 7.938 kB / 0.6612 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2057, allocations: 3.938 kB / 0.6612 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.993e-05/0.2058, allocations: 0 / 0.6612 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2058, allocations: 0 / 0.6612 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.337e-06/0.2058, allocations: 0 / 0.6612 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.2058, allocations: 3.984 kB / 0.6612 GB, free: 11.74 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 7.549e-05/0.2059, allocations: 118.5 kB / 0.6613 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-06/0.2059, allocations: 0 / 0.6613 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.062e-05/0.2059, allocations: 11.06 kB / 0.6613 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.2059, allocations: 0 / 0.6613 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.206, allocations: 0 / 0.6613 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.206, allocations: 3.984 kB / 0.6613 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.2061, allocations: 145.7 kB / 0.6614 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2061, allocations: 0 / 0.6614 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.547e-05/0.2061, allocations: 7.984 kB / 0.6615 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2061, allocations: 0 / 0.6615 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.2061, allocations: 7.875 kB / 0.6615 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2061, allocations: 4 kB / 0.6615 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2061, allocations: 4 kB / 0.6615 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.596e-05/0.2062, allocations: 57.08 kB / 0.6615 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.2063, allocations: 77.11 kB / 0.6616 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.2063, allocations: 7.922 kB / 0.6616 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-06/0.2063, allocations: 0 / 0.6616 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.2063, allocations: 4 kB / 0.6616 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.2063, allocations: 4.031 kB / 0.6616 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.799e-05/0.2063, allocations: 81.56 kB / 0.6617 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2063, allocations: 0 / 0.6617 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001784/0.2065, allocations: 0 / 0.6617 GB, free: 11.12 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.0003543/0.2069, allocations: 0.5929 MB / 0.6623 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.71e-05/0.207, allocations: 7.938 kB / 0.6623 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.207, allocations: 0 / 0.6623 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.939e-06/0.207, allocations: 0 / 0.6623 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.2071, allocations: 4 kB / 0.6623 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.2074, allocations: 102.6 kB / 0.6624 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.2077, allocations: 0.6729 MB / 0.663 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.043e-05/0.2077, allocations: 0 / 0.663 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.2077, allocations: 15.56 kB / 0.663 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.2077, allocations: 0 / 0.663 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.2235, allocations: 0.8609 MB / 0.6639 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/7.722, allocations: 10.91 kB / 0.6639 GB, free: 8.844 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)