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.005099/0.005099, allocations: 103 kB / 15.74 MB, free: 6.059 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.002945/0.002945, allocations: 191 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8814/0.8814, allocations: 135.6 MB / 426.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 70.55 kB / 0.5857 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1631, allocations: 81.03 MB / 0.6649 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002594/0.1657, allocations: 1.485 MB / 0.6663 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00031/0.166, allocations: 112.6 kB / 0.6664 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.1661, allocations: 4 kB / 0.6664 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.397e-05/0.1662, allocations: 3.938 kB / 0.6664 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.027e-05/0.1662, allocations: 7.875 kB / 0.6664 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.1664, allocations: 23.97 kB / 0.6665 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.1665, allocations: 43.89 kB / 0.6665 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.311e-05/0.1666, allocations: 11.94 kB / 0.6665 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.888e-05/0.1667, allocations: 23.92 kB / 0.6665 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.906e-05/0.1668, allocations: 15.92 kB / 0.6666 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.1668, allocations: 4 kB / 0.6666 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.085e-05/0.1669, allocations: 23.97 kB / 0.6666 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.1669, allocations: 15.94 kB / 0.6666 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.167, allocations: 19.86 kB / 0.6666 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.1671, allocations: 60.02 kB / 0.6667 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1671, allocations: 0 / 0.6667 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1671, allocations: 0 / 0.6667 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1671, allocations: 0 / 0.6667 GB, free: 3.754 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.0005851/0.1677, allocations: 383.2 kB / 0.667 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1678, allocations: 13.11 kB / 0.6671 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.1678, allocations: 34.69 kB / 0.6671 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.1679, allocations: 8.891 kB / 0.6671 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.168, allocations: 180.2 kB / 0.6673 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.168, allocations: 384 / 0.6673 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.168, allocations: 4.375 kB / 0.6673 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.1683, allocations: 82.16 kB / 0.6673 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1683, allocations: 3.938 kB / 0.6674 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1684, allocations: 0 / 0.6674 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1684, allocations: 0 / 0.6674 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.1687, allocations: 79.89 kB / 0.6674 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.1691, allocations: 284.9 kB / 0.6677 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.1693, allocations: 70.47 kB / 0.6678 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.1695, allocations: 40.91 kB / 0.6678 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002853/0.1698, allocations: 113.1 kB / 0.6679 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.1698, allocations: 34.5 kB / 0.6679 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1698, allocations: 0 / 0.6679 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000591/0.1704, allocations: 145.5 kB / 0.6681 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.1705, allocations: 55.41 kB / 0.6681 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1706, allocations: 132.8 kB / 0.6683 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1706, allocations: 25.7 kB / 0.6683 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.1707, allocations: 96.12 kB / 0.6684 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.1707, allocations: 7.938 kB / 0.6684 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.1708, allocations: 17.72 kB / 0.6684 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1709, allocations: 318.8 kB / 0.6687 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.1711, allocations: 39.95 kB / 0.6687 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.1713, allocations: 35.95 kB / 0.6688 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.1716, allocations: 84.72 kB / 0.6689 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1716, allocations: 0 / 0.6689 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003383/0.172, allocations: 109.6 kB / 0.669 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.172, allocations: 4 kB / 0.669 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.172, allocations: 0 / 0.669 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.172, allocations: 7.938 kB / 0.669 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1721, allocations: 19.97 kB / 0.669 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1721, allocations: 0 / 0.669 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.958e-05/0.1722, allocations: 19.92 kB / 0.669 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.1722, allocations: 0 / 0.669 GB, free: 1.102 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 9.586e-05/0.1723, allocations: 117.8 kB / 0.6691 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.1724, allocations: 7.953 kB / 0.6691 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003951/0.1728, allocations: 117.5 kB / 0.6692 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1728, allocations: 4 kB / 0.6693 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1728, allocations: 0 / 0.6693 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1728, allocations: 0 / 0.6693 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.173, allocations: 185.5 kB / 0.6694 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.173, allocations: 0 / 0.6694 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.1731, allocations: 19.92 kB / 0.6694 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1731, allocations: 0 / 0.6694 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.1732, allocations: 0 / 0.6694 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1732, allocations: 0 / 0.6694 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1732, allocations: 4.359 kB / 0.6695 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.1736, allocations: 215.4 kB / 0.6697 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.1736, allocations: 88.98 kB / 0.6697 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.1737, allocations: 4 kB / 0.6697 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1738, allocations: 11.98 kB / 0.6698 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1738, allocations: 4 kB / 0.6698 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.1738, allocations: 4 kB / 0.6698 GB, free: 236 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.23e-05/0.1739, allocations: 103.2 kB / 0.6699 GB, free: 132 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1739, allocations: 0 / 0.6699 GB, free: 132 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000224/0.1741, allocations: 8 kB / 0.6699 GB, free: 124 kB / 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.0007583/0.1749, allocations: 0.7397 MB / 0.6706 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004542/0.1754, allocations: 79.92 kB / 0.6707 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1754, allocations: 0 / 0.6707 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.1756, allocations: 47.89 kB / 0.6707 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.1758, allocations: 4 kB / 0.6707 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005376/0.1764, allocations: 190.9 kB / 0.6709 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.1768, allocations: 0.6924 MB / 0.6716 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.461e-05/0.1769, allocations: 4 kB / 0.6716 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.1769, allocations: 19.44 kB / 0.6716 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.1769, allocations: 0 / 0.6716 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.2004, allocations: 1.881 MB / 0.6734 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.122, allocations: 4.547 kB / 0.6734 GB, free: 12.45 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)