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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.006344/0.006344, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7563/0.7563, allocations: 135.2 MB / 151 MB, free: 13.83 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.495/1.495, allocations: 223.2 MB / 406.8 MB, free: 3.25 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.001039/0.001039, allocations: 94.45 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003996, allocations: 12 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4347, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.5869, allocations: 111.3 MB / 0.7582 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.5872, allocations: 71.97 kB / 0.7583 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00351/0.5908, allocations: 1.095 MB / 0.7594 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5908, allocations: 0 / 0.7594 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.545e-06/0.5908, allocations: 0 / 0.7594 GB, free: 3.5 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.0005383/0.5913, allocations: 391.1 kB / 0.7598 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.5914, allocations: 8.031 kB / 0.7598 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.546e-05/0.5915, allocations: 38.5 kB / 0.7598 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.5915, allocations: 3.906 kB / 0.7598 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.5916, allocations: 176.1 kB / 0.76 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.5917, allocations: 8 kB / 0.76 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.5917, allocations: 4 kB / 0.76 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.592, allocations: 85.64 kB / 0.7601 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.592, allocations: 0 / 0.7601 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.5921, allocations: 0 / 0.7601 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.5921, allocations: 3.984 kB / 0.7601 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.5925, allocations: 103.9 kB / 0.7602 GB, free: 2.594 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006452/0.5931, allocations: 324.7 kB / 0.7605 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.5934, allocations: 82.52 kB / 0.7606 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.5936, allocations: 101.2 kB / 0.7607 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.5936, allocations: 38.56 kB / 0.7607 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.5936, allocations: 0 / 0.7607 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0006329/0.5943, allocations: 185.5 kB / 0.7609 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.5943, allocations: 59.33 kB / 0.7609 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.5945, allocations: 113.9 kB / 0.761 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.5945, allocations: 25.7 kB / 0.7611 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.5946, allocations: 99.98 kB / 0.7612 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.5946, allocations: 15.83 kB / 0.7612 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.5946, allocations: 0 / 0.7612 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.5948, allocations: 322.8 kB / 0.7615 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.5949, allocations: 47.95 kB / 0.7615 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.5951, allocations: 47.95 kB / 0.7616 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.5953, allocations: 55.95 kB / 0.7616 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5953, allocations: 0 / 0.7616 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003617/0.5956, allocations: 141.5 kB / 0.7618 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.5957, allocations: 4 kB / 0.7618 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5957, allocations: 0 / 0.7618 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5957, allocations: 0 / 0.7618 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.5958, allocations: 19.98 kB / 0.7618 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5959, allocations: 4 kB / 0.7618 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.699e-05/0.596, allocations: 19.97 kB / 0.7618 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.596, allocations: 4 kB / 0.7618 GB, free: 0.7812 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 0.0001026/0.5961, allocations: 120.5 kB / 0.7619 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.5961, allocations: 3.906 kB / 0.7619 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004397/0.5966, allocations: 149.5 kB / 0.7621 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.5966, allocations: 7.922 kB / 0.7621 GB, free: 500 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5966, allocations: 4 kB / 0.7621 GB, free: 496 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.5966, allocations: 0 / 0.7621 GB, free: 496 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.5968, allocations: 181.6 kB / 0.7623 GB, free: 264 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5968, allocations: 0 / 0.7623 GB, free: 264 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.5969, allocations: 23.98 kB / 0.7623 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.5969, allocations: 4 kB / 0.7623 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.597, allocations: 0 / 0.7623 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.597, allocations: 0 / 0.7623 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.597, allocations: 4 kB / 0.7623 GB, free: 232 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000417/0.5974, allocations: 235.8 kB / 0.7625 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.5975, allocations: 89.05 kB / 0.7626 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.5975, allocations: 0 / 0.7626 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.5976, allocations: 15.98 kB / 0.7626 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.5977, allocations: 3.984 kB / 0.7626 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.5977, allocations: 8 kB / 0.7626 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.026e-05/0.5977, allocations: 106.7 kB / 0.7627 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5978, allocations: 3.938 kB / 0.7627 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002201/0.598, allocations: 8 kB / 0.7627 GB, free: 15.73 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.0007912/0.5988, allocations: 0.7786 MB / 0.7635 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003743/0.5992, allocations: 99.92 kB / 0.7636 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5992, allocations: 4 kB / 0.7636 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.5993, allocations: 51.89 kB / 0.7636 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.5995, allocations: 8.781 kB / 0.7637 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005447/0.6001, allocations: 194.3 kB / 0.7638 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.6005, allocations: 0.6887 MB / 0.7645 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.472e-05/0.6006, allocations: 0 / 0.7645 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.6006, allocations: 15.44 kB / 0.7645 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of SimCode: time 3.3e-07/0.6006, allocations: 4 kB / 0.7645 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.6137, allocations: 1.512 MB / 0.766 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/0.6139, allocations: 179.6 kB / 0.7662 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/2.142, allocations: 0 / 0.7662 GB, free: 12.15 MB / 0.5417 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/linux/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)