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.007567/0.007567, allocations: 102.3 kB / 15.73 MB, free: 6.004 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.001397/0.001397, allocations: 195.6 kB / 16.68 MB, free: 5.926 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.315/1.315, 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.7928/0.7928, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 67.17 kB / 0.5851 GB, free: 21.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1719, allocations: 80.93 MB / 0.6642 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.003769/0.1757, allocations: 1.484 MB / 0.6656 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004945/0.1762, allocations: 116.5 kB / 0.6657 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.174e-05/0.1763, allocations: 0 / 0.6657 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.033e-05/0.1764, allocations: 3.938 kB / 0.6657 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.065e-05/0.1765, allocations: 7.938 kB / 0.6657 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1768, allocations: 19.97 kB / 0.6658 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.177, allocations: 43.86 kB / 0.6658 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.1771, allocations: 23.91 kB / 0.6658 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.556e-05/0.1772, allocations: 11.98 kB / 0.6658 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.986e-05/0.1772, allocations: 23.86 kB / 0.6659 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.1773, allocations: 4 kB / 0.6659 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.008e-05/0.1773, allocations: 23.98 kB / 0.6659 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.1774, allocations: 11.98 kB / 0.6659 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.1775, allocations: 23.86 kB / 0.6659 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1776, allocations: 55.8 kB / 0.666 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1776, allocations: 0 / 0.666 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1776, allocations: 0 / 0.666 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.1777, allocations: 0 / 0.666 GB, free: 4.398 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.0005709/0.1782, allocations: 386.9 kB / 0.6663 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.1783, allocations: 9.109 kB / 0.6663 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.1783, allocations: 38.69 kB / 0.6664 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.1784, allocations: 8.781 kB / 0.6664 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.1785, allocations: 168.3 kB / 0.6666 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1785, allocations: 4.375 kB / 0.6666 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.1785, allocations: 384 / 0.6666 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.1788, allocations: 82.2 kB / 0.6666 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1788, allocations: 3.938 kB / 0.6666 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1788, allocations: 4 kB / 0.6666 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1789, allocations: 0 / 0.6666 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.1792, allocations: 71.92 kB / 0.6667 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.1796, allocations: 300.7 kB / 0.667 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.1798, allocations: 62.53 kB / 0.6671 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.18, allocations: 40.92 kB / 0.6671 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003115/0.1803, allocations: 109.1 kB / 0.6672 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.1803, allocations: 38.55 kB / 0.6672 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1803, allocations: 0 / 0.6672 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006151/0.1809, allocations: 153.4 kB / 0.6674 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.181, allocations: 51.41 kB / 0.6674 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.1811, allocations: 125.8 kB / 0.6676 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.1812, allocations: 25.7 kB / 0.6676 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.1812, allocations: 92.14 kB / 0.6677 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.1813, allocations: 11.8 kB / 0.6677 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.1813, allocations: 17.72 kB / 0.6677 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1815, allocations: 314.8 kB / 0.668 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.1817, allocations: 43.95 kB / 0.668 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.1818, allocations: 31.97 kB / 0.6681 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.1821, allocations: 92.92 kB / 0.6682 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1822, allocations: 4 kB / 0.6682 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003618/0.1825, allocations: 105.6 kB / 0.6683 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1826, allocations: 4 kB / 0.6683 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1826, allocations: 0 / 0.6683 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1826, allocations: 0 / 0.6683 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.1828, allocations: 19.98 kB / 0.6683 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1828, allocations: 4 kB / 0.6683 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.1829, allocations: 19.97 kB / 0.6683 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.1829, allocations: 0 / 0.6683 GB, free: 1.754 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.0001033/0.183, allocations: 113.8 kB / 0.6684 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.1831, allocations: 7.906 kB / 0.6684 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004863/0.1836, allocations: 129.4 kB / 0.6685 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1836, allocations: 0 / 0.6685 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1836, allocations: 0 / 0.6685 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1836, allocations: 0 / 0.6685 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.1838, allocations: 181.6 kB / 0.6687 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1838, allocations: 3.938 kB / 0.6687 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.81e-05/0.1839, allocations: 11.98 kB / 0.6687 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1839, allocations: 4 kB / 0.6687 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1839, allocations: 3.938 kB / 0.6687 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1839, allocations: 0 / 0.6687 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.184, allocations: 4 kB / 0.6687 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.1844, allocations: 211.2 kB / 0.6689 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.1844, allocations: 88.95 kB / 0.669 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.1845, allocations: 0 / 0.669 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.1846, allocations: 19.97 kB / 0.669 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.1846, allocations: 4 kB / 0.6691 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.1847, allocations: 0 / 0.6691 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.811e-05/0.1847, allocations: 102.9 kB / 0.6691 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1847, allocations: 0 / 0.6691 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002349/0.185, allocations: 12 kB / 0.6692 GB, free: 0.7734 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.0007723/0.1858, allocations: 0.741 MB / 0.6699 GB, free: 8 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004069/0.1862, allocations: 79.86 kB / 0.67 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1862, allocations: 4 kB / 0.67 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.1863, allocations: 43.95 kB / 0.67 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.1866, allocations: 6.031 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.0005185/0.1871, allocations: 191.4 kB / 0.6702 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.1874, allocations: 0.6885 MB / 0.6709 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.349e-05/0.1874, allocations: 4 kB / 0.6709 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.1875, allocations: 19.44 kB / 0.6709 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.1875, allocations: 0 / 0.6709 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.2068, allocations: 1.902 MB / 0.6727 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.383/7.59, allocations: 4.062 kB / 0.6728 GB, free: 13.07 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 & /home/hudson/saved_omc/OMSimulator/install/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)