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.007951/0.007951, allocations: 100.1 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.001856/0.001856, allocations: 190.2 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8239/0.8239, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.59 kB / 0.5851 GB, free: 21.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1592, allocations: 80.93 MB / 0.6642 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002708/0.162, allocations: 1.481 MB / 0.6656 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000342/0.1624, allocations: 116.5 kB / 0.6657 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.1624, allocations: 0 / 0.6657 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.85e-05/0.1625, allocations: 3.938 kB / 0.6657 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.843e-05/0.1626, allocations: 7.938 kB / 0.6657 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.1628, allocations: 19.97 kB / 0.6658 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.132e-05/0.1629, allocations: 51.8 kB / 0.6658 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1631, allocations: 15.97 kB / 0.6658 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.528e-05/0.1631, allocations: 15.92 kB / 0.6658 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.1632, allocations: 23.92 kB / 0.6659 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1632, allocations: 4 kB / 0.6659 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.026e-05/0.1633, allocations: 23.92 kB / 0.6659 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.1633, allocations: 11.98 kB / 0.6659 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.1634, allocations: 23.86 kB / 0.6659 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.1635, allocations: 56.02 kB / 0.666 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1636, allocations: 0 / 0.666 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1636, allocations: 4 kB / 0.666 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1636, allocations: 0 / 0.666 GB, free: 4.41 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.0005503/0.1641, allocations: 379.2 kB / 0.6663 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1642, allocations: 9.109 kB / 0.6663 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.1642, allocations: 42.69 kB / 0.6664 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.1643, allocations: 4.891 kB / 0.6664 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.1644, allocations: 176.2 kB / 0.6666 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1644, allocations: 8.375 kB / 0.6666 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.1644, allocations: 384 / 0.6666 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.1647, allocations: 74.2 kB / 0.6666 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1647, allocations: 7.938 kB / 0.6666 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1647, allocations: 0 / 0.6666 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1647, allocations: 0 / 0.6666 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.1651, allocations: 79.92 kB / 0.6667 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.1654, allocations: 284.8 kB / 0.667 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.1656, allocations: 62.53 kB / 0.6671 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.1658, allocations: 48.86 kB / 0.6671 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.1661, allocations: 113.1 kB / 0.6672 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.1661, allocations: 38.55 kB / 0.6672 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.635e-06/0.1661, allocations: 3.984 kB / 0.6672 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005876/0.1667, allocations: 149.5 kB / 0.6674 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.1667, allocations: 51.41 kB / 0.6674 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1669, allocations: 129.8 kB / 0.6676 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.1669, allocations: 25.7 kB / 0.6676 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.1669, allocations: 88.14 kB / 0.6677 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.167, allocations: 7.953 kB / 0.6677 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.167, allocations: 17.72 kB / 0.6677 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1671, allocations: 318.8 kB / 0.668 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.1673, allocations: 39.95 kB / 0.668 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.1674, allocations: 31.97 kB / 0.6681 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.1677, allocations: 84.72 kB / 0.6681 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1677, allocations: 0 / 0.6681 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003359/0.1681, allocations: 121.4 kB / 0.6683 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1681, allocations: 4 kB / 0.6683 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1681, allocations: 0 / 0.6683 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1681, allocations: 0 / 0.6683 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.1683, allocations: 19.98 kB / 0.6683 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1683, allocations: 0 / 0.6683 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.387e-05/0.1684, allocations: 19.91 kB / 0.6683 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.1684, allocations: 0 / 0.6683 GB, free: 1.766 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 7.642e-05/0.1685, allocations: 117.8 kB / 0.6684 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.1685, allocations: 7.953 kB / 0.6684 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003867/0.1689, allocations: 125.4 kB / 0.6685 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.1689, allocations: 0 / 0.6685 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1689, allocations: 0 / 0.6685 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1689, allocations: 0 / 0.6685 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.1691, allocations: 189.6 kB / 0.6687 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1691, allocations: 0 / 0.6687 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.367e-05/0.1692, allocations: 11.98 kB / 0.6687 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1692, allocations: 4 kB / 0.6687 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.1692, allocations: 4 kB / 0.6687 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1692, allocations: 0 / 0.6687 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1692, allocations: 3.938 kB / 0.6687 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.1696, allocations: 211.3 kB / 0.6689 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.1697, allocations: 85.06 kB / 0.669 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.1697, allocations: 4 kB / 0.669 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.1698, allocations: 15.97 kB / 0.669 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.1699, allocations: 4.422 kB / 0.6691 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-06/0.1699, allocations: 0 / 0.6691 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.314e-05/0.1699, allocations: 106.6 kB / 0.6692 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.17, allocations: 0 / 0.6692 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000236/0.1702, allocations: 8 kB / 0.6692 GB, free: 0.7852 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.0007181/0.1709, allocations: 0.7488 MB / 0.6699 GB, free: 12 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003626/0.1713, allocations: 83.86 kB / 0.67 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1713, allocations: 0 / 0.67 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.1715, allocations: 39.95 kB / 0.67 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.1717, allocations: 11.94 kB / 0.67 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.1722, allocations: 194.9 kB / 0.6702 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.1725, allocations: 0.6923 MB / 0.6709 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.433e-05/0.1726, allocations: 4 kB / 0.6709 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.1726, allocations: 15.44 kB / 0.6709 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1726, allocations: 0 / 0.6709 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.1919, allocations: 1.873 MB / 0.6727 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.814, allocations: 14.33 kB / 0.6727 GB, free: 13.1 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)