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.001037/0.001037, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001123/0.001123, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.264/1.264, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8518/0.8518, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 68.11 kB / 0.505 GB, free: 5.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1441, allocations: 80.92 MB / 0.584 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002499/0.1466, allocations: 1.534 MB / 0.5855 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002789/0.1469, allocations: 120.5 kB / 0.5856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.147, allocations: 0 / 0.5856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.406e-05/0.147, allocations: 7.938 kB / 0.5856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.492e-05/0.1471, allocations: 7.922 kB / 0.5856 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.1473, allocations: 15.98 kB / 0.5856 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.377e-05/0.1474, allocations: 39.92 kB / 0.5857 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.741e-05/0.1475, allocations: 19.92 kB / 0.5857 GB, free: 3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/0.1475, allocations: 19.92 kB / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.198e-05/0.1476, allocations: 23.91 kB / 0.5857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.1476, allocations: 4 kB / 0.5857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.095e-05/0.1476, allocations: 19.98 kB / 0.5857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.1477, allocations: 15.92 kB / 0.5858 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.1477, allocations: 15.88 kB / 0.5858 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.1479, allocations: 63.78 kB / 0.5858 GB, free: 2.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1479, allocations: 3.938 kB / 0.5858 GB, free: 2.836 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1479, allocations: 4 kB / 0.5858 GB, free: 2.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.1479, allocations: 0 / 0.5858 GB, free: 2.832 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.0004672/0.1484, allocations: 379.4 kB / 0.5862 GB, free: 2.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1484, allocations: 12.03 kB / 0.5862 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.1484, allocations: 34.73 kB / 0.5863 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.1485, allocations: 4.938 kB / 0.5863 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.73e-05/0.1486, allocations: 176.3 kB / 0.5864 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.1486, allocations: 384 / 0.5864 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.1486, allocations: 4.375 kB / 0.5864 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.1488, allocations: 78.2 kB / 0.5865 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1489, allocations: 3.938 kB / 0.5865 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1489, allocations: 0 / 0.5865 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1489, allocations: 0 / 0.5865 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.1491, allocations: 79.86 kB / 0.5866 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.1495, allocations: 292.7 kB / 0.5869 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.1497, allocations: 66.53 kB / 0.5869 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.1498, allocations: 40.92 kB / 0.587 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/0.1501, allocations: 113.1 kB / 0.5871 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1501, allocations: 34.5 kB / 0.5871 GB, free: 1.348 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1501, allocations: 0 / 0.5871 GB, free: 1.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005018/0.1506, allocations: 145.5 kB / 0.5872 GB, free: 1.199 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.1506, allocations: 55.39 kB / 0.5873 GB, free: 1.133 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.899e-05/0.1507, allocations: 129 kB / 0.5874 GB, free: 1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.1508, allocations: 25.7 kB / 0.5874 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.1508, allocations: 92.12 kB / 0.5875 GB, free: 0.875 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.1508, allocations: 7.906 kB / 0.5875 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.1509, allocations: 17.72 kB / 0.5876 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.151, allocations: 322.8 kB / 0.5879 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.1511, allocations: 35.97 kB / 0.5879 GB, free: 496 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.1512, allocations: 35.95 kB / 0.5879 GB, free: 460 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.1515, allocations: 88.66 kB / 0.588 GB, free: 368 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1515, allocations: 3.938 kB / 0.588 GB, free: 364 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002943/0.1518, allocations: 113.5 kB / 0.5881 GB, free: 244 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.1518, allocations: 7.938 kB / 0.5881 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1518, allocations: 4 kB / 0.5881 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1518, allocations: 0 / 0.5881 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.152, allocations: 15.98 kB / 0.5882 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.152, allocations: 0 / 0.5882 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.248e-05/0.1521, allocations: 11.98 kB / 0.5882 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1521, allocations: 0 / 0.5882 GB, free: 204 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.888e-05/0.1521, allocations: 121.8 kB / 0.5883 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.1522, allocations: 7.906 kB / 0.5883 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.1525, allocations: 125.8 kB / 0.5884 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1525, allocations: 0 / 0.5884 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1525, allocations: 0 / 0.5884 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1525, allocations: 3.984 kB / 0.5884 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.1527, allocations: 177.6 kB / 0.5886 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1527, allocations: 0 / 0.5886 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.022e-05/0.1528, allocations: 23.97 kB / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1528, allocations: 4 kB / 0.5886 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.1528, allocations: 0 / 0.5886 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1528, allocations: 0 / 0.5886 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1528, allocations: 0 / 0.5886 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.1532, allocations: 211.3 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.1532, allocations: 85.02 kB / 0.5889 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1532, allocations: 0 / 0.5889 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.898e-05/0.1533, allocations: 11.98 kB / 0.5889 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.1534, allocations: 3.984 kB / 0.5889 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.1534, allocations: 4 kB / 0.5889 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.005e-05/0.1534, allocations: 99.27 kB / 0.589 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1534, allocations: 0 / 0.589 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002151/0.1537, allocations: 12 kB / 0.589 GB, free: 15.22 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.0005755/0.1542, allocations: 0.7474 MB / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.1546, allocations: 87.91 kB / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1546, allocations: 0 / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.1547, allocations: 35.97 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.155, allocations: 23.86 kB / 0.5899 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.1554, allocations: 207 kB / 0.5901 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.1556, allocations: 0.6846 MB / 0.5908 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.049e-05/0.1557, allocations: 7.922 kB / 0.5908 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.1557, allocations: 19.44 kB / 0.5908 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1557, allocations: 0 / 0.5908 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.53/2.686, allocations: 1.66 MB / 0.5924 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/2.686, allocations: 194.3 kB / 0.5926 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/4.679, allocations: 0 / 0.5926 GB, free: 11.53 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)