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.001165/0.001165, allocations: 174.3 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9414/0.9414, allocations: 133.6 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0008781/0.0008781, allocations: 101.5 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.003e-05/2.005e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4938/0.4938, allocations: 82.31 MB / 0.6339 GB, free: 40.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.6362, allocations: 110.6 MB / 0.7419 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.6364, allocations: 75.94 kB / 0.742 GB, free: 12 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003073/0.6395, allocations: 1.08 MB / 0.7431 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6395, allocations: 4 kB / 0.7431 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.6395, allocations: 4 kB / 0.7431 GB, free: 10.92 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.0004479/0.64, allocations: 378.2 kB / 0.7434 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.64, allocations: 12.03 kB / 0.7434 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.6401, allocations: 7.906 kB / 0.7434 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.6402, allocations: 175 kB / 0.7436 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.6402, allocations: 4 kB / 0.7436 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.6403, allocations: 0 / 0.7436 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000103/0.6404, allocations: 27.98 kB / 0.7436 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.108e-05/0.6405, allocations: 49.69 kB / 0.7437 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.6405, allocations: 0 / 0.7437 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.6405, allocations: 7.922 kB / 0.7437 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.6405, allocations: 4 kB / 0.7437 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.641, allocations: 301.3 kB / 0.744 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.546e-05/0.6411, allocations: 46.56 kB / 0.744 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.6412, allocations: 20.86 kB / 0.7441 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.6414, allocations: 105.2 kB / 0.7442 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.6414, allocations: 34.56 kB / 0.7442 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.6414, allocations: 0 / 0.7442 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002994/0.6418, allocations: 77.59 kB / 0.7443 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.6418, allocations: 51.41 kB / 0.7443 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.6419, allocations: 116.2 kB / 0.7444 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.6419, allocations: 25.7 kB / 0.7444 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.642, allocations: 96.05 kB / 0.7445 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.642, allocations: 7.906 kB / 0.7445 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.642, allocations: 0 / 0.7445 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.6422, allocations: 322.8 kB / 0.7449 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.994e-05/0.6422, allocations: 16 kB / 0.7449 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.771e-05/0.6423, allocations: 19.92 kB / 0.7449 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.618e-05/0.6424, allocations: 20.12 kB / 0.7449 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6424, allocations: 0 / 0.7449 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001461/0.6425, allocations: 81.55 kB / 0.745 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6425, allocations: 8 kB / 0.745 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6426, allocations: 4 kB / 0.745 GB, free: 8.727 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.6426, allocations: 0 / 0.745 GB, free: 8.727 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.6427, allocations: 23.98 kB / 0.745 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.6428, allocations: 3.938 kB / 0.745 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.094e-05/0.6429, allocations: 19.98 kB / 0.745 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.6429, allocations: 7.984 kB / 0.745 GB, free: 8.672 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 () * 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.553e-05/0.643, allocations: 104.9 kB / 0.7451 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001593/0.6431, allocations: 69.67 kB / 0.7452 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.6432, allocations: 3.906 kB / 0.7452 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.6434, allocations: 86 kB / 0.7453 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.6434, allocations: 11.92 kB / 0.7453 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.6434, allocations: 0 / 0.7453 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.6434, allocations: 0 / 0.7453 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.6436, allocations: 166.1 kB / 0.7455 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6436, allocations: 0 / 0.7455 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.6437, allocations: 19.98 kB / 0.7455 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.6437, allocations: 0 / 0.7455 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.6437, allocations: 0 / 0.7455 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.6437, allocations: 0 / 0.7455 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6437, allocations: 0 / 0.7455 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.644, allocations: 183.3 kB / 0.7457 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.644, allocations: 88.95 kB / 0.7457 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.644, allocations: 0 / 0.7457 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.6442, allocations: 15.98 kB / 0.7458 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.6442, allocations: 3.984 kB / 0.7458 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.6442, allocations: 4 kB / 0.7458 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.843e-05/0.6443, allocations: 103.3 kB / 0.7459 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6443, allocations: 0 / 0.7459 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002101/0.6445, allocations: 8 kB / 0.7459 GB, free: 7.727 MB / 0.5261 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.0005449/0.6451, allocations: 0.7085 MB / 0.7466 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.6452, allocations: 28 kB / 0.7466 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6452, allocations: 7.938 kB / 0.7466 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.859e-05/0.6452, allocations: 27.92 kB / 0.7466 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.6454, allocations: 4 kB / 0.7466 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.6458, allocations: 133.3 kB / 0.7468 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.6461, allocations: 0.6885 MB / 0.7474 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.125e-05/0.6461, allocations: 4 kB / 0.7474 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.6462, allocations: 19.44 kB / 0.7475 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/0.6462, allocations: 0 / 0.7475 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.6664, allocations: 1.21 MB / 0.7486 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.6667, allocations: 128.2 kB / 0.7488 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/2.158, allocations: 4 kB / 0.7488 GB, free: 4.625 MB / 0.5261 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)