Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Examples.QuadraticLinear,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear",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.01037/0.01037, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.002533/0.002533, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8454/0.8454, allocations: 135.1 MB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 72 kB / 0.5851 GB, free: 21.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.191, allocations: 80.93 MB / 0.6642 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.003777/0.1948, allocations: 1.481 MB / 0.6656 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004876/0.1953, allocations: 112.6 kB / 0.6657 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.156e-05/0.1954, allocations: 0 / 0.6657 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.291e-05/0.1955, allocations: 3.938 kB / 0.6657 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.904e-05/0.1956, allocations: 15.86 kB / 0.6657 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.1959, allocations: 19.97 kB / 0.6658 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.1961, allocations: 39.92 kB / 0.6658 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1962, allocations: 15.98 kB / 0.6658 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.166e-05/0.1963, allocations: 15.92 kB / 0.6658 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.1963, allocations: 23.92 kB / 0.6658 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.1964, allocations: 7.938 kB / 0.6659 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.428e-05/0.1965, allocations: 23.92 kB / 0.6659 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.032e-05/0.1965, allocations: 15.97 kB / 0.6659 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.1966, allocations: 19.86 kB / 0.6659 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1968, allocations: 56.03 kB / 0.666 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1968, allocations: 0 / 0.666 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1968, allocations: 0 / 0.666 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.1968, allocations: 0 / 0.666 GB, free: 4.422 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006969/0.1975, allocations: 383.2 kB / 0.6663 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1976, allocations: 9.109 kB / 0.6663 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.1976, allocations: 38.69 kB / 0.6664 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.1977, allocations: 4.891 kB / 0.6664 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.1978, allocations: 183.1 kB / 0.6666 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1979, allocations: 8.375 kB / 0.6666 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.1979, allocations: 384 / 0.6666 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.1982, allocations: 82.14 kB / 0.6666 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1983, allocations: 7.938 kB / 0.6667 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1983, allocations: 0 / 0.6667 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1983, allocations: 0 / 0.6667 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.1987, allocations: 71.92 kB / 0.6667 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.1993, allocations: 288.9 kB / 0.667 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.1996, allocations: 66.47 kB / 0.6671 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.1998, allocations: 44.86 kB / 0.6671 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003443/0.2002, allocations: 109.1 kB / 0.6672 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.2002, allocations: 42.55 kB / 0.6672 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.2002, allocations: 0 / 0.6672 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0007828/0.201, allocations: 145.7 kB / 0.6674 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.2011, allocations: 51.41 kB / 0.6674 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.2012, allocations: 125.8 kB / 0.6676 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.2013, allocations: 29.7 kB / 0.6676 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.2013, allocations: 92.08 kB / 0.6677 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.2014, allocations: 7.953 kB / 0.6677 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.2014, allocations: 13.72 kB / 0.6677 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2016, allocations: 318.8 kB / 0.668 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.2018, allocations: 43.95 kB / 0.668 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.202, allocations: 35.95 kB / 0.6681 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/0.2024, allocations: 80.72 kB / 0.6681 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2024, allocations: 4 kB / 0.6682 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004942/0.2029, allocations: 113.6 kB / 0.6683 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.203, allocations: 4 kB / 0.6683 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.203, allocations: 0 / 0.6683 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.203, allocations: 0 / 0.6683 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.2032, allocations: 19.92 kB / 0.6683 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.2032, allocations: 0 / 0.6683 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.2033, allocations: 23.91 kB / 0.6683 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.2034, allocations: 4 kB / 0.6683 GB, free: 1.77 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 (3): * Single equations (assignments): 3 * 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 0.0001137/0.2035, allocations: 117.8 kB / 0.6684 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.2035, allocations: 7.953 kB / 0.6684 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005323/0.2041, allocations: 121.5 kB / 0.6685 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2041, allocations: 0 / 0.6685 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2041, allocations: 0 / 0.6685 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.2041, allocations: 0 / 0.6685 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.2044, allocations: 185.5 kB / 0.6687 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2044, allocations: 0 / 0.6687 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.2045, allocations: 15.92 kB / 0.6687 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.2046, allocations: 4 kB / 0.6687 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.2046, allocations: 4 kB / 0.6687 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.2046, allocations: 0 / 0.6687 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2046, allocations: 7.938 kB / 0.6688 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005428/0.2052, allocations: 207.4 kB / 0.669 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/0.2052, allocations: 85.06 kB / 0.669 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.2053, allocations: 0 / 0.669 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.2054, allocations: 19.97 kB / 0.6691 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.2055, allocations: 0 / 0.6691 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.2055, allocations: 0 / 0.6691 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.056e-05/0.2056, allocations: 103.3 kB / 0.6692 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2056, allocations: 0 / 0.6692 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003866/0.206, allocations: 8 kB / 0.6692 GB, free: 0.7969 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 (3): * Single equations (assignments): 3 * 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.0009989/0.207, allocations: 0.7482 MB / 0.6699 GB, free: 28 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005454/0.2076, allocations: 80.2 kB / 0.67 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.2076, allocations: 4 kB / 0.67 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.2078, allocations: 43.98 kB / 0.67 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.2082, allocations: 9.875 kB / 0.67 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006498/0.2089, allocations: 199 kB / 0.6702 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.2092, allocations: 0.6846 MB / 0.6709 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.374e-05/0.2093, allocations: 8 kB / 0.6709 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.2093, allocations: 15.44 kB / 0.6709 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.2093, allocations: 0 / 0.6709 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.2306, allocations: 1.876 MB / 0.6727 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/7.894, allocations: 6.875 kB / 0.6727 GB, free: 13.11 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)