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.001218/0.001218, 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.7173/0.7173, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.581/1.581, allocations: 221.3 MB / 400.4 MB, free: 5.859 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.0009001/0.0008999, allocations: 99.77 kB / 483.3 MB, free: 5.922 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.176e-05/4.196e-05, allocations: 3.938 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1804, allocations: 82.3 MB / 0.6405 GB, free: 7.773 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6181/0.7986, allocations: 111.3 MB / 0.7492 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.7989, allocations: 78.91 kB / 0.7492 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003714/0.8027, allocations: 1.087 MB / 0.7503 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.966e-06/0.8027, allocations: 0 / 0.7503 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.8027, allocations: 0.9844 kB / 0.7503 GB, free: 27.45 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.0005745/0.8033, allocations: 378.3 kB / 0.7507 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.028e-05/0.8034, allocations: 7.688 kB / 0.7507 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.413e-05/0.8035, allocations: 40.47 kB / 0.7507 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.8035, allocations: 3.906 kB / 0.7507 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.8037, allocations: 175.8 kB / 0.7509 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.8037, allocations: 0 / 0.7509 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.8038, allocations: 0 / 0.7509 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.8039, allocations: 60.09 kB / 0.7509 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.804, allocations: 1.859 kB / 0.7509 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.804, allocations: 4 kB / 0.7509 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.804, allocations: 0 / 0.7509 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.124e-05/0.8041, allocations: 32.89 kB / 0.751 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000689/0.8048, allocations: 325.5 kB / 0.7513 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.8049, allocations: 48.59 kB / 0.7513 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.805, allocations: 27.14 kB / 0.7514 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.8052, allocations: 106.4 kB / 0.7515 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.8052, allocations: 34.12 kB / 0.7515 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.973e-06/0.8053, allocations: 0 / 0.7515 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002498/0.8055, allocations: 73.56 kB / 0.7516 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.8056, allocations: 51.41 kB / 0.7516 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.8057, allocations: 116.9 kB / 0.7517 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.8057, allocations: 25.7 kB / 0.7517 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.8058, allocations: 102.4 kB / 0.7518 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.8059, allocations: 3.906 kB / 0.7518 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.8059, allocations: 3.938 kB / 0.7518 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.806, allocations: 322.6 kB / 0.7522 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/0.8061, allocations: 18.42 kB / 0.7522 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.302e-05/0.8061, allocations: 21.94 kB / 0.7522 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.762e-05/0.8062, allocations: 14.2 kB / 0.7522 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.8062, allocations: 0 / 0.7522 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001859/0.8064, allocations: 65.8 kB / 0.7523 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.8064, allocations: 3.844 kB / 0.7523 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.8064, allocations: 3.844 kB / 0.7523 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.8065, allocations: 2.062 kB / 0.7523 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.8066, allocations: 28.42 kB / 0.7523 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.8066, allocations: 0 / 0.7523 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.202e-05/0.8067, allocations: 16.7 kB / 0.7523 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.8068, allocations: 2.812 kB / 0.7523 GB, free: 25.67 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 9.164e-05/0.8069, allocations: 114.6 kB / 0.7524 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.8069, allocations: 0 / 0.7524 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.8071, allocations: 84.83 kB / 0.7525 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.8071, allocations: 2.625 kB / 0.7525 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.8072, allocations: 0 / 0.7525 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.8072, allocations: 0 / 0.7525 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.8073, allocations: 185.5 kB / 0.7527 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.8074, allocations: 0 / 0.7527 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.8075, allocations: 24.55 kB / 0.7527 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.8075, allocations: 0 / 0.7527 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.8075, allocations: 4.812 kB / 0.7527 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.8075, allocations: 0 / 0.7527 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.8075, allocations: 3.969 kB / 0.7527 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.8077, allocations: 166.4 kB / 0.7529 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/0.8077, allocations: 84.95 kB / 0.753 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.8078, allocations: 3.906 kB / 0.753 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.8079, allocations: 24.92 kB / 0.753 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.8079, allocations: 2.906 kB / 0.753 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.8079, allocations: 7.781 kB / 0.753 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.036e-05/0.808, allocations: 97.61 kB / 0.7531 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.808, allocations: 0 / 0.7531 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002249/0.8082, allocations: 11.53 kB / 0.7531 GB, free: 24.99 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.0005285/0.8088, allocations: 0.707 MB / 0.7538 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.8089, allocations: 40.27 kB / 0.7538 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8089, allocations: 0 / 0.7538 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.045e-05/0.809, allocations: 20.86 kB / 0.7539 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.8092, allocations: 4.656 kB / 0.7539 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/0.8096, allocations: 139.9 kB / 0.754 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.81, allocations: 0.6917 MB / 0.7547 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.775e-05/0.8101, allocations: 0 / 0.7547 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.8101, allocations: 21.31 kB / 0.7547 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of SimCode: time 3.61e-07/0.8101, allocations: 0 / 0.7547 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01296/0.8231, allocations: 1.517 MB / 0.7562 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.8233, allocations: 145.3 kB / 0.7563 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/2.301, allocations: 0 / 0.7563 GB, free: 23.08 MB / 0.5105 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)