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.005595/0.005595, allocations: 101.6 kB / 15.73 MB, free: 6.449 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.001168/0.001169, allocations: 196.7 kB / 16.68 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8268/0.8268, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 66.97 kB / 0.5808 GB, free: 1.145 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.192, allocations: 80.2 MB / 0.6592 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.002121/0.1942, allocations: 0.5855 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 5.184e-05/0.1943, allocations: 7.984 kB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/0.1943, allocations: 0 / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.1943, allocations: 0 / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.362e-06/0.1944, allocations: 0 / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.884e-05/0.1944, allocations: 0 / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.635e-05/0.1945, allocations: 4 kB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.828e-05/0.1945, allocations: 8 kB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.618e-05/0.1946, allocations: 3.938 kB / 0.6597 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.177e-05/0.1946, allocations: 3.984 kB / 0.6598 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.1946, allocations: 0 / 0.6598 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.53e-06/0.1946, allocations: 0 / 0.6598 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.1946, allocations: 3.938 kB / 0.6598 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.1947, allocations: 0 / 0.6598 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.139e-05/0.1947, allocations: 0 / 0.6598 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1947, allocations: 0 / 0.6598 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1948, allocations: 4 kB / 0.6598 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.1948, allocations: 4 kB / 0.6598 GB, free: 13.46 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.0003339/0.1951, allocations: 307.5 kB / 0.6601 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1952, allocations: 12.06 kB / 0.6601 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.1952, allocations: 30.75 kB / 0.6601 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.1952, allocations: 4.938 kB / 0.6601 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.1954, allocations: 160.4 kB / 0.6603 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1954, allocations: 384 / 0.6603 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-06/0.1954, allocations: 384 / 0.6603 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.1955, allocations: 38.02 kB / 0.6603 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1955, allocations: 0 / 0.6603 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.1955, allocations: 0 / 0.6603 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1955, allocations: 3.984 kB / 0.6603 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.1956, allocations: 3.938 kB / 0.6603 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.1957, allocations: 145.7 kB / 0.6604 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.176e-05/0.1958, allocations: 22.52 kB / 0.6605 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.641e-05/0.1958, allocations: 8.953 kB / 0.6605 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.1958, allocations: 4 kB / 0.6605 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.1958, allocations: 34.5 kB / 0.6605 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.1959, allocations: 0 / 0.6605 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000133/0.196, allocations: 37.62 kB / 0.6605 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.196, allocations: 55.41 kB / 0.6606 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.649e-05/0.1961, allocations: 89.86 kB / 0.6607 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.1961, allocations: 29.7 kB / 0.6607 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.1961, allocations: 88.2 kB / 0.6608 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.1962, allocations: 8.172 kB / 0.6608 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.1962, allocations: 10.06 kB / 0.6608 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1964, allocations: 310.8 kB / 0.6611 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.1964, allocations: 4 kB / 0.6611 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.1964, allocations: 4 kB / 0.6611 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.933e-05/0.1964, allocations: 12.86 kB / 0.6611 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1964, allocations: 0 / 0.6611 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.767e-05/0.1965, allocations: 41.69 kB / 0.6612 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1965, allocations: 7.938 kB / 0.6612 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1965, allocations: 0 / 0.6612 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1965, allocations: 0 / 0.6612 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.1966, allocations: 4 kB / 0.6612 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.1966, allocations: 0 / 0.6612 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.024e-05/0.1966, allocations: 0 / 0.6612 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1966, allocations: 0 / 0.6612 GB, free: 11.78 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.823e-05/0.1967, allocations: 110.5 kB / 0.6613 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.1967, allocations: 11.95 kB / 0.6613 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.883e-05/0.1968, allocations: 3.125 kB / 0.6613 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1968, allocations: 3.984 kB / 0.6613 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1968, allocations: 0 / 0.6613 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1968, allocations: 0 / 0.6613 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.1969, allocations: 145.7 kB / 0.6614 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.1969, allocations: 4 kB / 0.6614 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.475e-05/0.1969, allocations: 0 / 0.6614 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1969, allocations: 3.938 kB / 0.6614 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.197, allocations: 0 / 0.6614 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.197, allocations: 7.938 kB / 0.6615 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.197, allocations: 0 / 0.6615 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.551e-05/0.197, allocations: 67.41 kB / 0.6615 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.1971, allocations: 77.11 kB / 0.6616 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.1971, allocations: 3.938 kB / 0.6616 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-06/0.1971, allocations: 0 / 0.6616 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.1972, allocations: 0 / 0.6616 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.1972, allocations: 4 kB / 0.6616 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.852e-05/0.1972, allocations: 83.31 kB / 0.6617 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1972, allocations: 0 / 0.6617 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001848/0.1974, allocations: 0 / 0.6617 GB, free: 11.16 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.000433/0.1978, allocations: 0.5928 MB / 0.6623 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.122e-05/0.1979, allocations: 4.031 kB / 0.6623 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.198, allocations: 7.938 kB / 0.6623 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.903e-06/0.198, allocations: 0 / 0.6623 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.1981, allocations: 3.984 kB / 0.6623 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.1984, allocations: 106.6 kB / 0.6624 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.1988, allocations: 0.669 MB / 0.663 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.813e-05/0.1988, allocations: 0 / 0.663 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.1989, allocations: 7.438 kB / 0.663 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of SimCode: time 1.914e-06/0.1989, allocations: 8.125 kB / 0.663 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.216, allocations: 0.8661 MB / 0.6639 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/7.929, allocations: 8.719 kB / 0.6639 GB, free: 8.887 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)