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.001727/0.001727, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.732/0.732, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.637/1.637, allocations: 221.3 MB / 400.4 MB, free: 5.781 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009221/0.000922, allocations: 87.94 kB / 483.3 MB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.286e-05/4.297e-05, allocations: 4.5 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1635, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6066/0.7701, allocations: 111.3 MB / 0.7492 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.7704, allocations: 76.52 kB / 0.7492 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003735/0.7742, allocations: 1.078 MB / 0.7503 GB, free: 27.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7742, allocations: 1.094 kB / 0.7503 GB, free: 27.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.7742, allocations: 3.875 kB / 0.7503 GB, free: 27.6 MB / 0.5105 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.0004722/0.7747, allocations: 381.8 kB / 0.7507 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.7748, allocations: 7.812 kB / 0.7507 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.779e-05/0.7748, allocations: 34.12 kB / 0.7507 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.7749, allocations: 7.781 kB / 0.7507 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.775, allocations: 174.8 kB / 0.7509 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.775, allocations: 6.5 kB / 0.7509 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.775, allocations: 3.844 kB / 0.7509 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.7752, allocations: 54.73 kB / 0.7509 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.7752, allocations: 1.75 kB / 0.7509 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.7752, allocations: 3.688 kB / 0.7509 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.7752, allocations: 3.844 kB / 0.7509 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.711e-05/0.7753, allocations: 29.14 kB / 0.751 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.7759, allocations: 332.7 kB / 0.7513 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.776, allocations: 50.5 kB / 0.7513 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.7761, allocations: 26.31 kB / 0.7514 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/0.7763, allocations: 106.1 kB / 0.7515 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.7763, allocations: 30.56 kB / 0.7515 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.743e-06/0.7763, allocations: 0 / 0.7515 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002163/0.7765, allocations: 67.7 kB / 0.7516 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.7766, allocations: 51.41 kB / 0.7516 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.7767, allocations: 114.3 kB / 0.7517 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.7767, allocations: 25.7 kB / 0.7517 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.7768, allocations: 101.5 kB / 0.7518 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.7768, allocations: 3.906 kB / 0.7518 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.7769, allocations: 7.312 kB / 0.7518 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.777, allocations: 321 kB / 0.7522 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/0.7771, allocations: 21.45 kB / 0.7522 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.88e-05/0.7771, allocations: 14.06 kB / 0.7522 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.396e-05/0.7771, allocations: 13.92 kB / 0.7522 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7771, allocations: 0 / 0.7522 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001177/0.7773, allocations: 73.16 kB / 0.7523 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.7773, allocations: 3.875 kB / 0.7523 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.7773, allocations: 4 kB / 0.7523 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.7773, allocations: 0 / 0.7523 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.7775, allocations: 21.34 kB / 0.7523 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.7775, allocations: 0 / 0.7523 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.554e-05/0.7776, allocations: 17.06 kB / 0.7523 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.7776, allocations: 11.22 kB / 0.7523 GB, free: 25.82 MB / 0.5105 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 () * 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.446e-05/0.7777, allocations: 104.9 kB / 0.7524 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.7777, allocations: 3.938 kB / 0.7524 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.7779, allocations: 86.39 kB / 0.7525 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.778, allocations: 4 kB / 0.7525 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.778, allocations: 0 / 0.7525 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.778, allocations: 0 / 0.7525 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.7782, allocations: 183.8 kB / 0.7527 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7782, allocations: 3.844 kB / 0.7527 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.7783, allocations: 30.8 kB / 0.7527 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.7784, allocations: 0 / 0.7527 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.7784, allocations: 0 / 0.7527 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.7784, allocations: 0 / 0.7527 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7784, allocations: 0 / 0.7527 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.7786, allocations: 168.8 kB / 0.7529 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.7787, allocations: 88.95 kB / 0.753 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.7787, allocations: 48 / 0.753 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.7788, allocations: 24.36 kB / 0.753 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.7789, allocations: 6.547 kB / 0.753 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.7789, allocations: 0 / 0.753 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.123e-05/0.779, allocations: 102.2 kB / 0.7531 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.779, allocations: 0 / 0.7531 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002332/0.7792, allocations: 15.53 kB / 0.7531 GB, free: 25.14 MB / 0.5105 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 () * 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.000599/0.7798, allocations: 0.7054 MB / 0.7538 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.7799, allocations: 32.2 kB / 0.7538 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.78, allocations: 3.844 kB / 0.7538 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-05/0.78, allocations: 17.75 kB / 0.7539 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.7802, allocations: 4 kB / 0.7539 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.7807, allocations: 130.6 kB / 0.754 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.7811, allocations: 0.6971 MB / 0.7547 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.51e-05/0.7811, allocations: 2.859 kB / 0.7547 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.7811, allocations: 14.06 kB / 0.7547 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of SimCode: time 6.31e-07/0.7811, allocations: 0 / 0.7547 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01278/0.7939, allocations: 1.537 MB / 0.7562 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/0.7941, allocations: 141.8 kB / 0.7563 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/2.332, allocations: 0 / 0.7563 GB, free: 23.23 MB / 0.5105 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)