Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_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.005683/0.005683, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001293/0.001293, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.432/1.432, 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.8476/0.8476, allocations: 132.2 MB / 422.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 64 kB / 0.5809 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.157, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002757/0.1598, allocations: 1.48 MB / 0.6606 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003517/0.1602, allocations: 112.5 kB / 0.6607 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/0.1603, allocations: 4 kB / 0.6608 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.775e-05/0.1603, allocations: 3.938 kB / 0.6608 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.1605, allocations: 7.922 kB / 0.6608 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.1607, allocations: 27.92 kB / 0.6608 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.1608, allocations: 47.84 kB / 0.6608 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1609, allocations: 4 kB / 0.6608 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.533e-05/0.161, allocations: 19.97 kB / 0.6609 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.037e-05/0.1611, allocations: 27.84 kB / 0.6609 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1611, allocations: 4 kB / 0.6609 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.004e-05/0.1612, allocations: 19.98 kB / 0.6609 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.31e-05/0.1612, allocations: 11.98 kB / 0.6609 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.1613, allocations: 19.88 kB / 0.6609 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1614, allocations: 71.94 kB / 0.661 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1614, allocations: 0 / 0.661 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.033e-06/0.1615, allocations: 0 / 0.661 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.1615, allocations: 0 / 0.661 GB, free: 8.863 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.000633/0.1621, allocations: 375.2 kB / 0.6614 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.1622, allocations: 12.03 kB / 0.6614 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.542e-05/0.1622, allocations: 34.75 kB / 0.6614 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.1623, allocations: 8.922 kB / 0.6614 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.1624, allocations: 184.2 kB / 0.6616 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.1625, allocations: 384 / 0.6616 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.1625, allocations: 384 / 0.6616 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.1628, allocations: 78.2 kB / 0.6617 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1628, allocations: 3.938 kB / 0.6617 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1628, allocations: 0 / 0.6617 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1628, allocations: 3.938 kB / 0.6617 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/0.1631, allocations: 87.86 kB / 0.6618 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.1636, allocations: 276.9 kB / 0.662 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.1638, allocations: 66.53 kB / 0.6621 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.164, allocations: 48.91 kB / 0.6621 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.1643, allocations: 113 kB / 0.6622 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.1644, allocations: 34.5 kB / 0.6623 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1644, allocations: 0 / 0.6623 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000604/0.165, allocations: 149.5 kB / 0.6624 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.165, allocations: 51.41 kB / 0.6625 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.1652, allocations: 125.8 kB / 0.6626 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.1652, allocations: 25.7 kB / 0.6626 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.1653, allocations: 96.12 kB / 0.6627 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.1653, allocations: 3.953 kB / 0.6627 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.1653, allocations: 17.72 kB / 0.6627 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1655, allocations: 322.8 kB / 0.663 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.1657, allocations: 31.97 kB / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.1658, allocations: 35.95 kB / 0.6631 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.1661, allocations: 92.66 kB / 0.6632 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1661, allocations: 0 / 0.6632 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003697/0.1665, allocations: 105.6 kB / 0.6633 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1665, allocations: 7.984 kB / 0.6633 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1666, allocations: 0 / 0.6633 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1666, allocations: 8 kB / 0.6633 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1667, allocations: 11.98 kB / 0.6633 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1667, allocations: 0 / 0.6633 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.034e-05/0.1668, allocations: 15.92 kB / 0.6633 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.1668, allocations: 0 / 0.6633 GB, free: 6.23 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.886e-05/0.1669, allocations: 122.6 kB / 0.6634 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.167, allocations: 11.89 kB / 0.6635 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003922/0.1674, allocations: 117.8 kB / 0.6636 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1674, allocations: 48 / 0.6636 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1674, allocations: 3.984 kB / 0.6636 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1674, allocations: 0 / 0.6636 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.1677, allocations: 185.6 kB / 0.6637 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1677, allocations: 0 / 0.6637 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.1678, allocations: 23.91 kB / 0.6638 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1678, allocations: 4 kB / 0.6638 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.1678, allocations: 0 / 0.6638 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1678, allocations: 0 / 0.6638 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1678, allocations: 0 / 0.6638 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.1683, allocations: 215.3 kB / 0.664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.1684, allocations: 85.06 kB / 0.6641 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.1684, allocations: 4 kB / 0.6641 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.1685, allocations: 11.98 kB / 0.6641 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.1686, allocations: 7.984 kB / 0.6641 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.331e-06/0.1686, allocations: 4 kB / 0.6641 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.697e-05/0.1686, allocations: 102.6 kB / 0.6642 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1687, allocations: 0 / 0.6642 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002293/0.1689, allocations: 8 kB / 0.6642 GB, free: 5.234 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.0008201/0.1697, allocations: 0.7513 MB / 0.6649 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004012/0.1701, allocations: 83.91 kB / 0.665 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1701, allocations: 0 / 0.665 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.1703, allocations: 35.97 kB / 0.665 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.1706, allocations: 13.7 kB / 0.6651 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.1711, allocations: 190.9 kB / 0.6652 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.1715, allocations: 0.6885 MB / 0.6659 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.908e-05/0.1715, allocations: 4 kB / 0.6659 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.1716, allocations: 15.42 kB / 0.6659 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1716, allocations: 0 / 0.6659 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.1957, allocations: 1.872 MB / 0.6678 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.08, allocations: 18.17 kB / 0.6678 GB, free: 1.57 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Examples_QuadraticLinear.fmu > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)