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.547/1.547, allocations: 249.3 MB / 261.8 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001214/0.001214, allocations: 178.1 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.2 MB / 0.572 GB, free: 10.72 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.0009007/0.0009008, allocations: 84.56 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.898e-05/3.91e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2538, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8836/1.137, allocations: 131.6 MB / 1.02 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/1.138, allocations: 73.22 kB / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003329/1.141, allocations: 1.08 MB / 1.022 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/1.141, allocations: 3.938 kB / 1.022 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.133e-06/1.141, allocations: 0 / 1.022 GB, free: 2.043 MB / 0.6355 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.0004737/1.142, allocations: 377.3 kB / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.142, allocations: 8.031 kB / 1.022 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/1.142, allocations: 33.25 kB / 1.022 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/1.142, allocations: 11.22 kB / 1.022 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/1.142, allocations: 178.8 kB / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/1.142, allocations: 7.984 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/1.142, allocations: 4 kB / 1.022 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/1.142, allocations: 49.38 kB / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/1.142, allocations: 0 / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/1.142, allocations: 0 / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/1.142, allocations: 0 / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.904e-05/1.142, allocations: 34.17 kB / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/1.143, allocations: 325.3 kB / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/1.143, allocations: 49.5 kB / 1.023 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/1.143, allocations: 16.48 kB / 1.023 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002007/1.143, allocations: 115.7 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/1.143, allocations: 34.56 kB / 1.023 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/1.143, allocations: 0 / 1.023 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001932/1.144, allocations: 68.52 kB / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/1.144, allocations: 55.34 kB / 1.023 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/1.144, allocations: 120.3 kB / 1.023 GB, free: 468 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/1.144, allocations: 25.7 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/1.144, allocations: 87.58 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/1.144, allocations: 15.64 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/1.144, allocations: 0 / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.144, allocations: 325.3 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.249e-05/1.144, allocations: 11.75 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-05/1.144, allocations: 15.48 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.674e-05/1.144, allocations: 15.92 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.144, allocations: 0 / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001131/1.144, allocations: 68.53 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.144, allocations: 5.562 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/1.144, allocations: 4 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/1.144, allocations: 0 / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/1.144, allocations: 27.91 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/1.144, allocations: 4 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.011e-05/1.145, allocations: 15.98 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/1.145, allocations: 6.516 kB / 1.024 GB, free: 15.86 MB / 0.6511 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 7.516e-05/1.145, allocations: 105 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/1.145, allocations: 8.094 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/1.145, allocations: 92.5 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.145, allocations: 8 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.145, allocations: 0 / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/1.145, allocations: 0 / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/1.145, allocations: 179 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.145, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/1.145, allocations: 27.97 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.145, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/1.145, allocations: 3.938 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.145, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.145, allocations: 4 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/1.145, allocations: 169.5 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/1.146, allocations: 81.05 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/1.146, allocations: 4 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/1.146, allocations: 15.98 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/1.146, allocations: 7.984 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/1.146, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.217e-05/1.146, allocations: 103.1 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.146, allocations: 0 / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00021/1.146, allocations: 11.91 kB / 1.024 GB, free: 15 MB / 0.6511 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.0005056/1.147, allocations: 0.7072 MB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001092/1.147, allocations: 31.44 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.147, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.121e-05/1.147, allocations: 22.38 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/1.147, allocations: 11.98 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/1.147, allocations: 130.2 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/1.148, allocations: 0.6926 MB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.391e-05/1.148, allocations: 7.859 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/1.148, allocations: 14.94 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of SimCode: time 6.11e-07/1.148, allocations: 0 / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/1.161, allocations: 1.547 MB / 1.027 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003001/1.161, allocations: 175.1 kB / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.495/2.656, allocations: 0 / 1.028 GB, free: 11.67 MB / 0.6511 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)