Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006135/0.006135, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7244/0.7244, allocations: 135.2 MB / 151.1 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.2 MB / 406.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000954/0.0009541, allocations: 96.73 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.00034, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3986, allocations: 82.31 MB / 0.6495 GB, free: 36.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1454/0.544, allocations: 111.3 MB / 0.7582 GB, free: 4.547 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.5443, allocations: 79.95 kB / 0.7583 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003328/0.5477, allocations: 1.088 MB / 0.7594 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.515e-06/0.5477, allocations: 0 / 0.7594 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.5477, allocations: 0 / 0.7594 GB, free: 3.379 MB / 0.5261 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.00051/0.5482, allocations: 387.1 kB / 0.7598 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.5483, allocations: 16.03 kB / 0.7598 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.5483, allocations: 38.5 kB / 0.7598 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.5483, allocations: 7.906 kB / 0.7598 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.5485, allocations: 178.9 kB / 0.76 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.5485, allocations: 0 / 0.76 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.5485, allocations: 0 / 0.76 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.5488, allocations: 89.64 kB / 0.7601 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.5488, allocations: 0 / 0.7601 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.5488, allocations: 0 / 0.7601 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.5488, allocations: 0 / 0.7601 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.5491, allocations: 107.8 kB / 0.7602 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.5496, allocations: 324.7 kB / 0.7605 GB, free: 2.102 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.5499, allocations: 82.52 kB / 0.7606 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002069/0.5501, allocations: 109.2 kB / 0.7607 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.5501, allocations: 30.56 kB / 0.7607 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5501, allocations: 0 / 0.7607 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0006015/0.5507, allocations: 185.5 kB / 0.7609 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.5508, allocations: 55.41 kB / 0.7609 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.5509, allocations: 113.7 kB / 0.761 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.5509, allocations: 25.7 kB / 0.7611 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.551, allocations: 104 kB / 0.7612 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.551, allocations: 7.844 kB / 0.7612 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.551, allocations: 0 / 0.7612 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.34e-05/0.5511, allocations: 322.8 kB / 0.7615 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.5513, allocations: 51.95 kB / 0.7615 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.5514, allocations: 48.14 kB / 0.7616 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.5516, allocations: 56.03 kB / 0.7616 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5516, allocations: 0 / 0.7616 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003438/0.552, allocations: 141.5 kB / 0.7618 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.552, allocations: 4 kB / 0.7618 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.552, allocations: 0 / 0.7618 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.552, allocations: 0 / 0.7618 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.5522, allocations: 27.97 kB / 0.7618 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.5522, allocations: 4 kB / 0.7618 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.614e-05/0.5523, allocations: 11.98 kB / 0.7618 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.5523, allocations: 4 kB / 0.7618 GB, free: 0.6602 MB / 0.5261 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.309e-05/0.5524, allocations: 121.8 kB / 0.7619 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.5524, allocations: 7.906 kB / 0.7619 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/0.5528, allocations: 149.5 kB / 0.7621 GB, free: 376 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.5528, allocations: 3.938 kB / 0.7621 GB, free: 372 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5528, allocations: 0 / 0.7621 GB, free: 372 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.5528, allocations: 0 / 0.7621 GB, free: 372 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.553, allocations: 185.6 kB / 0.7623 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.553, allocations: 0 / 0.7623 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.5531, allocations: 23.98 kB / 0.7623 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.5531, allocations: 7.984 kB / 0.7623 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.5532, allocations: 0 / 0.7623 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5532, allocations: 0 / 0.7623 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5532, allocations: 0 / 0.7623 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/0.5536, allocations: 227.4 kB / 0.7625 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.5536, allocations: 85.02 kB / 0.7626 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.5536, allocations: 0 / 0.7626 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.5538, allocations: 31.91 kB / 0.7626 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.5538, allocations: 0 / 0.7626 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.5538, allocations: 4 kB / 0.7626 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.877e-05/0.5539, allocations: 102.8 kB / 0.7627 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5539, allocations: 3.938 kB / 0.7627 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002267/0.5541, allocations: 19.98 kB / 0.7627 GB, free: 15.61 MB / 0.5417 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.0006631/0.5548, allocations: 0.7669 MB / 0.7635 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.5552, allocations: 103.9 kB / 0.7636 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5552, allocations: 0 / 0.7636 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.5553, allocations: 55.89 kB / 0.7636 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.5555, allocations: 5.484 kB / 0.7636 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.556, allocations: 194.3 kB / 0.7638 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.5562, allocations: 0.6891 MB / 0.7645 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.414e-05/0.5563, allocations: 4 kB / 0.7645 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.5563, allocations: 23.42 kB / 0.7645 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.5563, allocations: 0 / 0.7645 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.5692, allocations: 1.515 MB / 0.766 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.5695, allocations: 159.5 kB / 0.7662 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/2.084, allocations: 4 kB / 0.7662 GB, free: 12.03 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear.fmu > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)