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.0007555/0.0007555, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005234/0.005234, allocations: 170 kB / 16.27 MB, free: 6.66 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.438/1.438, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9593/0.9593, allocations: 135.3 MB / 426.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003391, allocations: 12.91 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1772, allocations: 82.3 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.001755/0.179, allocations: 1.196 MB / 0.5892 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003769/0.1794, allocations: 124.5 kB / 0.5894 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.1794, allocations: 0 / 0.5894 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.1795, allocations: 4 kB / 0.5894 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.1795, allocations: 3.938 kB / 0.5894 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.1797, allocations: 23.97 kB / 0.5894 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.143e-05/0.1798, allocations: 35.86 kB / 0.5894 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.1799, allocations: 11.98 kB / 0.5894 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.856e-05/0.18, allocations: 11.94 kB / 0.5894 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.18, allocations: 23.91 kB / 0.5895 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.1801, allocations: 0 / 0.5895 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.678e-05/0.1801, allocations: 23.98 kB / 0.5895 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.1802, allocations: 19.91 kB / 0.5895 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.1802, allocations: 41.58 kB / 0.5895 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.1804, allocations: 51.8 kB / 0.5896 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1804, allocations: 0 / 0.5896 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1804, allocations: 0 / 0.5896 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1804, allocations: 0 / 0.5896 GB, free: 0.9375 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.0005344/0.1809, allocations: 387.5 kB / 0.59 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.181, allocations: 15.97 kB / 0.59 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.454e-05/0.181, allocations: 34.69 kB / 0.59 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.1811, allocations: 8.844 kB / 0.59 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.1812, allocations: 175.3 kB / 0.5902 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.1812, allocations: 384 / 0.5902 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.1812, allocations: 4.375 kB / 0.5902 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.1815, allocations: 90.2 kB / 0.5903 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1815, allocations: 3.938 kB / 0.5903 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1816, allocations: 0 / 0.5903 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1816, allocations: 4 kB / 0.5903 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.1819, allocations: 95.92 kB / 0.5904 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.1823, allocations: 292.8 kB / 0.5907 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.1825, allocations: 78.52 kB / 0.5907 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.1827, allocations: 56.92 kB / 0.5908 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/0.183, allocations: 109.1 kB / 0.5909 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.183, allocations: 30.56 kB / 0.5909 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.183, allocations: 0 / 0.5909 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006215/0.1836, allocations: 189.4 kB / 0.5911 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.1837, allocations: 55.39 kB / 0.5912 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.1838, allocations: 121.8 kB / 0.5913 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.1838, allocations: 25.7 kB / 0.5913 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.1839, allocations: 92.12 kB / 0.5914 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.1839, allocations: 15.81 kB / 0.5914 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.1839, allocations: 9.719 kB / 0.5914 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1841, allocations: 318.8 kB / 0.5917 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.1842, allocations: 43.97 kB / 0.5918 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.1844, allocations: 51.95 kB / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.1847, allocations: 100.7 kB / 0.5919 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1847, allocations: 0 / 0.5919 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003584/0.1851, allocations: 145.5 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1851, allocations: 4 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1851, allocations: 0 / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1851, allocations: 0 / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1853, allocations: 23.98 kB / 0.5921 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1853, allocations: 0 / 0.5921 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.06e-05/0.1854, allocations: 15.98 kB / 0.5921 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1854, allocations: 0 / 0.5921 GB, free: 14.14 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.673e-05/0.1855, allocations: 125.8 kB / 0.5922 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.1855, allocations: 7.906 kB / 0.5922 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004034/0.1859, allocations: 141.5 kB / 0.5923 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1859, allocations: 0 / 0.5923 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.186, allocations: 0 / 0.5923 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.186, allocations: 3.938 kB / 0.5923 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.1862, allocations: 185.6 kB / 0.5925 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1862, allocations: 0 / 0.5925 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.1863, allocations: 23.97 kB / 0.5925 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1863, allocations: 4 kB / 0.5926 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1863, allocations: 0 / 0.5926 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1863, allocations: 0 / 0.5926 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1863, allocations: 0 / 0.5926 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.1867, allocations: 235.6 kB / 0.5928 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.1867, allocations: 85.02 kB / 0.5929 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.1868, allocations: 0 / 0.5929 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.1869, allocations: 23.98 kB / 0.5929 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.1869, allocations: 4.031 kB / 0.5929 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.1869, allocations: 7.984 kB / 0.5929 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.328e-05/0.187, allocations: 99.27 kB / 0.593 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.187, allocations: 0 / 0.593 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000231/0.1872, allocations: 12 kB / 0.593 GB, free: 13.09 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.0007278/0.188, allocations: 0.7593 MB / 0.5937 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003612/0.1884, allocations: 111.8 kB / 0.5938 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1884, allocations: 0 / 0.5938 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.1885, allocations: 43.97 kB / 0.5939 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.1888, allocations: 19.92 kB / 0.5939 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/0.1893, allocations: 202.2 kB / 0.5941 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.1895, allocations: 0.6887 MB / 0.5948 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.1896, allocations: 4 kB / 0.5948 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.1896, allocations: 19.42 kB / 0.5948 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.1896, allocations: 4 kB / 0.5948 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3049/0.4946, allocations: 1.539 MB / 0.5963 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/0.4948, allocations: 194.7 kB / 0.5965 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/2.103, allocations: 64 / 0.5965 GB, free: 9.488 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/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)