Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.77/1.77, allocations: 285.4 MB / 298 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001314/0.001314, allocations: 184.8 kB / 366.4 MB, free: 2.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.1 MB / 0.6248 GB, free: 7.699 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008389/0.0008389, allocations: 86.89 kB / 0.738 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.201e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7115/0.7116, allocations: 115.3 MB / 0.971 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1989/0.9105, allocations: 137.9 MB / 1.106 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.9109, allocations: 71.95 kB / 1.106 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00349/0.9144, allocations: 1.075 MB / 1.107 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.964e-06/0.9145, allocations: 8.516 kB / 1.107 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.9145, allocations: 0 / 1.107 GB, free: 12.71 MB / 0.7136 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.0005938/0.9151, allocations: 371 kB / 1.107 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/0.9152, allocations: 12.03 kB / 1.107 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/0.9152, allocations: 30.56 kB / 1.107 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.9153, allocations: 4 kB / 1.107 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.9154, allocations: 190.2 kB / 1.107 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.9154, allocations: 4 kB / 1.107 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.9155, allocations: 2.688 kB / 1.107 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.9156, allocations: 57.67 kB / 1.107 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.9157, allocations: 0 / 1.107 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.9157, allocations: 0 / 1.107 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.9157, allocations: 0 / 1.107 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.63e-05/0.9158, allocations: 31.98 kB / 1.107 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006685/0.9165, allocations: 324.5 kB / 1.108 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.9167, allocations: 50.56 kB / 1.108 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.9167, allocations: 19.48 kB / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002226/0.9169, allocations: 110.5 kB / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.917, allocations: 34.56 kB / 1.108 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.917, allocations: 0 / 1.108 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002389/0.9172, allocations: 75.73 kB / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.9173, allocations: 51.41 kB / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.9174, allocations: 119.4 kB / 1.108 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.9175, allocations: 25.7 kB / 1.108 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.9175, allocations: 88.14 kB / 1.108 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.9176, allocations: 16.89 kB / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-06/0.9176, allocations: 0 / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.9177, allocations: 324.9 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.774e-05/0.9178, allocations: 15.98 kB / 1.109 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.904e-05/0.9178, allocations: 16 kB / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.959e-05/0.9179, allocations: 15.98 kB / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9179, allocations: 0 / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001194/0.918, allocations: 65.69 kB / 1.109 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.918, allocations: 11.92 kB / 1.109 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.9181, allocations: 0 / 1.109 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.9181, allocations: 0 / 1.109 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.9182, allocations: 23.98 kB / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.9183, allocations: 3.391 kB / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.154e-05/0.9184, allocations: 19.89 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.9184, allocations: 4 kB / 1.109 GB, free: 10.44 MB / 0.7136 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.302e-05/0.9185, allocations: 108.9 kB / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.9185, allocations: 7.984 kB / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.9187, allocations: 77.7 kB / 1.109 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.9187, allocations: 0 / 1.109 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.9187, allocations: 0 / 1.109 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.9188, allocations: 4 kB / 1.109 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.919, allocations: 181.8 kB / 1.109 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.919, allocations: 5.562 kB / 1.109 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.9191, allocations: 27.98 kB / 1.109 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.9191, allocations: 0 / 1.109 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.9191, allocations: 5.766 kB / 1.109 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.9191, allocations: 0 / 1.109 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.9192, allocations: 0 / 1.109 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.9193, allocations: 167.4 kB / 1.109 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.9194, allocations: 88.95 kB / 1.109 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.9194, allocations: 0 / 1.109 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.9196, allocations: 23.97 kB / 1.109 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.9196, allocations: 4 kB / 1.109 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.9196, allocations: 0 / 1.109 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.43e-05/0.9197, allocations: 103.3 kB / 1.11 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9197, allocations: 0 / 1.11 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000207/0.9199, allocations: 12 kB / 1.11 GB, free: 9.535 MB / 0.7136 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.0005264/0.9205, allocations: 0.7068 MB / 1.11 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.9206, allocations: 32 kB / 1.11 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9206, allocations: 0 / 1.11 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.968e-05/0.9207, allocations: 27.92 kB / 1.11 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.9208, allocations: 5.125 kB / 1.11 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.9212, allocations: 144.8 kB / 1.11 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.9215, allocations: 0.6887 MB / 1.111 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.9216, allocations: 4 kB / 1.111 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.9216, allocations: 19.05 kB / 1.111 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of SimCode: time 4.61e-07/0.9216, allocations: 0 / 1.111 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01186/0.9335, allocations: 1.551 MB / 1.113 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/0.9337, allocations: 161.2 kB / 1.113 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.459, allocations: 0 / 1.113 GB, free: 6.262 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)