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.001515/0.001515, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001765/0.001765, allocations: 193.2 kB / 16.13 MB, free: 6.715 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 / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9242/0.9242, allocations: 135.1 MB / 425.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 68.05 kB / 0.5048 GB, free: 5.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1462, allocations: 80.92 MB / 0.5838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002275/0.1485, allocations: 1.538 MB / 0.5853 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002714/0.1488, allocations: 116.5 kB / 0.5854 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.1488, allocations: 0 / 0.5854 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.013e-05/0.1488, allocations: 3.984 kB / 0.5854 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.813e-05/0.1489, allocations: 7.938 kB / 0.5854 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.149, allocations: 23.97 kB / 0.5855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.504e-05/0.1491, allocations: 43.84 kB / 0.5855 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.18e-05/0.1492, allocations: 8 kB / 0.5855 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.899e-05/0.1492, allocations: 19.92 kB / 0.5855 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.794e-05/0.1493, allocations: 15.92 kB / 0.5855 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.1493, allocations: 4 kB / 0.5855 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.829e-05/0.1494, allocations: 19.98 kB / 0.5856 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.969e-05/0.1494, allocations: 11.92 kB / 0.5856 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.1495, allocations: 19.86 kB / 0.5856 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.983e-05/0.1496, allocations: 59.8 kB / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1496, allocations: 4 kB / 0.5857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1496, allocations: 0 / 0.5857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1496, allocations: 4 kB / 0.5857 GB, free: 2.973 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.0004414/0.15, allocations: 375.4 kB / 0.586 GB, free: 2.555 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1501, allocations: 12.03 kB / 0.586 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.274e-05/0.1501, allocations: 42.69 kB / 0.5861 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.1501, allocations: 4.938 kB / 0.5861 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.266e-05/0.1502, allocations: 176.3 kB / 0.5862 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-06/0.1502, allocations: 384 / 0.5862 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.1503, allocations: 8.359 kB / 0.5863 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.1505, allocations: 70.22 kB / 0.5863 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1505, allocations: 3.938 kB / 0.5863 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.1505, allocations: 0 / 0.5863 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1505, allocations: 0 / 0.5863 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.1508, allocations: 79.92 kB / 0.5864 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.1511, allocations: 292.7 kB / 0.5867 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.1513, allocations: 66.53 kB / 0.5867 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.1515, allocations: 48.91 kB / 0.5868 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/0.1517, allocations: 113.1 kB / 0.5869 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.1517, allocations: 30.56 kB / 0.5869 GB, free: 1.484 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1518, allocations: 0 / 0.5869 GB, free: 1.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005221/0.1523, allocations: 149.4 kB / 0.5871 GB, free: 1.332 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.1523, allocations: 59.41 kB / 0.5871 GB, free: 1.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.66e-05/0.1524, allocations: 125 kB / 0.5872 GB, free: 1.133 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.1524, allocations: 25.7 kB / 0.5873 GB, free: 1.102 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.1525, allocations: 96.08 kB / 0.5874 GB, free: 1.004 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.1525, allocations: 11.91 kB / 0.5874 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.1525, allocations: 13.7 kB / 0.5874 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.1526, allocations: 318.8 kB / 0.5877 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.1528, allocations: 35.95 kB / 0.5877 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.1529, allocations: 31.97 kB / 0.5878 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.1532, allocations: 88.72 kB / 0.5878 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1532, allocations: 3.938 kB / 0.5878 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000302/0.1535, allocations: 113.5 kB / 0.5879 GB, free: 384 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1535, allocations: 4 kB / 0.588 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1535, allocations: 8 kB / 0.588 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.1535, allocations: 0 / 0.588 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1537, allocations: 15.97 kB / 0.588 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1537, allocations: 0 / 0.588 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.234e-05/0.1537, allocations: 11.98 kB / 0.588 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1538, allocations: 0 / 0.588 GB, free: 344 kB / 494.1 MB 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 6.313e-05/0.1538, allocations: 117.8 kB / 0.5881 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.1539, allocations: 11.91 kB / 0.5881 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003488/0.1542, allocations: 121.8 kB / 0.5882 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1542, allocations: 0 / 0.5882 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1542, allocations: 48 / 0.5882 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1542, allocations: 3.984 kB / 0.5882 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.1544, allocations: 185.6 kB / 0.5884 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1544, allocations: 4 kB / 0.5884 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-05/0.1545, allocations: 19.98 kB / 0.5884 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1545, allocations: 0 / 0.5884 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1545, allocations: 0 / 0.5884 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1545, allocations: 0 / 0.5884 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1545, allocations: 0 / 0.5884 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.1549, allocations: 215.3 kB / 0.5886 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.1549, allocations: 81.02 kB / 0.5887 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.1549, allocations: 0 / 0.5887 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1551, allocations: 15.97 kB / 0.5887 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.1551, allocations: 4 kB / 0.5887 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1551, allocations: 0 / 0.5887 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.224e-05/0.1552, allocations: 103.3 kB / 0.5888 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1552, allocations: 0 / 0.5888 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002193/0.1554, allocations: 15.98 kB / 0.5888 GB, free: 15.35 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.0005909/0.156, allocations: 0.7396 MB / 0.5896 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003124/0.1563, allocations: 83.86 kB / 0.5896 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1563, allocations: 3.938 kB / 0.5897 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.1565, allocations: 39.95 kB / 0.5897 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.1567, allocations: 11.94 kB / 0.5897 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.1571, allocations: 200.9 kB / 0.5899 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.1573, allocations: 0.6887 MB / 0.5906 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.752e-05/0.1574, allocations: 0 / 0.5906 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.1574, allocations: 19.44 kB / 0.5906 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1574, allocations: 4 kB / 0.5906 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05347/0.2109, allocations: 1.611 MB / 0.5922 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.2111, allocations: 191.1 kB / 0.5923 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.273/2.484, allocations: 4 kB / 0.5923 GB, free: 11.71 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)