Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 251.9 MB / 266.9 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 184.8 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.4 MB / 0.5775 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 101.1 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 12.12 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2623, allocations: 106.3 MB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1798/0.4422, allocations: 131.7 MB / 1.029 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.4426, allocations: 71.95 kB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003336/0.4459, allocations: 1.078 MB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.365e-06/0.446, allocations: 0 / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.446, allocations: 4 kB / 1.03 GB, free: 11.36 MB / 0.6823 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.0004861/0.4465, allocations: 387.1 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.4465, allocations: 11.97 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.537e-05/0.4466, allocations: 34.56 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.4466, allocations: 7.906 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.4468, allocations: 186.8 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.4468, allocations: 4 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.4468, allocations: 7.938 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.4471, allocations: 85.64 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.4471, allocations: 0 / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.4471, allocations: 0 / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.4471, allocations: 4 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.4475, allocations: 95.92 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.448, allocations: 328.8 kB / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.4482, allocations: 74.53 kB / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/0.4484, allocations: 109.2 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.4485, allocations: 34.56 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4485, allocations: 0 / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0006221/0.4491, allocations: 185.4 kB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.4492, allocations: 55.41 kB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.648e-05/0.4493, allocations: 122.8 kB / 1.032 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.4493, allocations: 25.7 kB / 1.032 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.4494, allocations: 88.14 kB / 1.032 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.4494, allocations: 15.83 kB / 1.032 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.4494, allocations: 0 / 1.032 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4495, allocations: 318.8 kB / 1.032 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.4497, allocations: 51.95 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.4499, allocations: 48.14 kB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.45, allocations: 56.03 kB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.45, allocations: 0 / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003545/0.4504, allocations: 137.5 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.4504, allocations: 8 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4504, allocations: 3.938 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.4505, allocations: 0 / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.4506, allocations: 23.98 kB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.4506, allocations: 0 / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.032e-05/0.4507, allocations: 19.97 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.4508, allocations: 0 / 1.032 GB, free: 8.645 MB / 0.6823 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 9.089e-05/0.4509, allocations: 125.7 kB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.4509, allocations: 7.906 kB / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004223/0.4513, allocations: 145.5 kB / 1.033 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.4513, allocations: 4 kB / 1.033 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4514, allocations: 0 / 1.033 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.4514, allocations: 3.984 kB / 1.033 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.4516, allocations: 177.6 kB / 1.033 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4516, allocations: 4 kB / 1.033 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.4517, allocations: 23.92 kB / 1.033 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4517, allocations: 4 kB / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.4517, allocations: 4 kB / 1.033 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4517, allocations: 3.938 kB / 1.033 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4517, allocations: 4 kB / 1.033 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.4521, allocations: 235.3 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.4522, allocations: 77.11 kB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.4522, allocations: 0 / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.4523, allocations: 19.98 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.4524, allocations: 11.98 kB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.4524, allocations: 0 / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.023e-05/0.4525, allocations: 95.27 kB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4525, allocations: 0 / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002237/0.4527, allocations: 16 kB / 1.033 GB, free: 7.602 MB / 0.6823 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.0007493/0.4535, allocations: 0.7783 MB / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000369/0.4538, allocations: 103.9 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4539, allocations: 0 / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.454, allocations: 51.91 kB / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.4542, allocations: 14.33 kB / 1.034 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004747/0.4547, allocations: 190.3 kB / 1.034 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.455, allocations: 0.6926 MB / 1.035 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.387e-05/0.455, allocations: 11.86 kB / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.4551, allocations: 11.44 kB / 1.035 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/0.4551, allocations: 0 / 1.035 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01142/0.4665, allocations: 1.545 MB / 1.037 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.4667, allocations: 179.5 kB / 1.037 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.464/1.931, allocations: 4 kB / 1.037 GB, free: 4.02 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)