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.0008147/0.0008147, allocations: 92 kB / 15.06 MB, free: 1.098 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.0009376/0.0009376, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9514/0.9514, allocations: 135.3 MB / 426.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 12.22 kB / 0.5071 GB, free: 5.051 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1561, allocations: 82.32 MB / 0.5875 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.001664/0.1578, allocations: 1.181 MB / 0.5886 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002903/0.1581, allocations: 112.6 kB / 0.5887 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.1582, allocations: 4 kB / 0.5887 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.1582, allocations: 0 / 0.5887 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.364e-05/0.1583, allocations: 11.92 kB / 0.5887 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.1584, allocations: 19.92 kB / 0.5888 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.37e-05/0.1585, allocations: 27.92 kB / 0.5888 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1586, allocations: 19.97 kB / 0.5888 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.348e-05/0.1587, allocations: 15.92 kB / 0.5888 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.1588, allocations: 19.92 kB / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.1588, allocations: 4 kB / 0.5889 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.872e-05/0.1589, allocations: 15.98 kB / 0.5889 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.612e-05/0.1589, allocations: 15.92 kB / 0.5889 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.1589, allocations: 29.7 kB / 0.5889 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.305e-05/0.159, allocations: 39.92 kB / 0.5889 GB, free: 1.371 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.159, allocations: 0 / 0.5889 GB, free: 1.371 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1591, allocations: 4 kB / 0.589 GB, free: 1.367 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1591, allocations: 0 / 0.589 GB, free: 1.367 MB / 494.1 MB 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.0005046/0.1596, allocations: 383.3 kB / 0.5893 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1596, allocations: 12.03 kB / 0.5893 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.1597, allocations: 34.5 kB / 0.5894 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.1597, allocations: 7.906 kB / 0.5894 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.1598, allocations: 167 kB / 0.5895 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1598, allocations: 0 / 0.5895 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.1599, allocations: 11.88 kB / 0.5895 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.1601, allocations: 93.64 kB / 0.5896 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.1601, allocations: 0 / 0.5896 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.1601, allocations: 0 / 0.5896 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-06/0.1602, allocations: 0 / 0.5896 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.1604, allocations: 95.92 kB / 0.5897 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.1608, allocations: 300.7 kB / 0.59 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.161, allocations: 78.52 kB / 0.5901 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.1612, allocations: 52.92 kB / 0.5901 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002176/0.1614, allocations: 105.1 kB / 0.5902 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1615, allocations: 34.56 kB / 0.5903 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1615, allocations: 4 kB / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005372/0.162, allocations: 185.4 kB / 0.5904 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.1621, allocations: 51.41 kB / 0.5905 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.1622, allocations: 125.8 kB / 0.5906 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1622, allocations: 29.69 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.1623, allocations: 96.14 kB / 0.5907 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.1623, allocations: 3.906 kB / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.1623, allocations: 0 / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.1624, allocations: 322.8 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.1626, allocations: 43.97 kB / 0.5911 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.1627, allocations: 47.95 kB / 0.5911 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.1629, allocations: 51.95 kB / 0.5912 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1629, allocations: 0 / 0.5912 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003093/0.1632, allocations: 137.5 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.1632, allocations: 4 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1632, allocations: 0 / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1632, allocations: 0 / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1634, allocations: 23.97 kB / 0.5913 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1634, allocations: 0 / 0.5913 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.602e-05/0.1635, allocations: 23.94 kB / 0.5914 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.1635, allocations: 4 kB / 0.5914 GB, free: 14.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.179e-05/0.1636, allocations: 113.8 kB / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.1636, allocations: 3.906 kB / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.164, allocations: 145.4 kB / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.164, allocations: 0 / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.164, allocations: 7.938 kB / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.164, allocations: 0 / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.1642, allocations: 185.6 kB / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1642, allocations: 0 / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.422e-05/0.1643, allocations: 19.98 kB / 0.5918 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1643, allocations: 0 / 0.5918 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1643, allocations: 3.938 kB / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1643, allocations: 0 / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1643, allocations: 4 kB / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.1647, allocations: 231.8 kB / 0.5921 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.1647, allocations: 81.02 kB / 0.5921 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.1648, allocations: 7.984 kB / 0.5921 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1649, allocations: 15.98 kB / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.1649, allocations: 7.984 kB / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1649, allocations: 3.984 kB / 0.5922 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.378e-05/0.165, allocations: 110.5 kB / 0.5923 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.165, allocations: 0 / 0.5923 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002285/0.1652, allocations: 12 kB / 0.5923 GB, free: 13.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006809/0.1659, allocations: 0.7631 MB / 0.593 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003265/0.1663, allocations: 107.9 kB / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1663, allocations: 4 kB / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.1664, allocations: 51.95 kB / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.1667, allocations: 7.938 kB / 0.5932 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.1672, allocations: 198.3 kB / 0.5934 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.1674, allocations: 0.6926 MB / 0.5941 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.013e-05/0.1675, allocations: 0 / 0.5941 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.1675, allocations: 15.44 kB / 0.5941 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1675, allocations: 0 / 0.5941 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01354/0.1811, allocations: 1.537 MB / 0.5956 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.1813, allocations: 176.5 kB / 0.5957 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/1.845, allocations: 0 / 0.5957 GB, free: 10.05 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) Environment - environmentSimulation: