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.46/1.46, allocations: 252 MB / 267 MB, free: 10.96 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.001088/0.001088, allocations: 178.4 kB / 326.6 MB, free: 2.215 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.118/2.118, allocations: 205.4 MB / 0.5777 GB, free: 20.23 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.00096/0.0009596, allocations: 94.28 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 12.66 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2539, allocations: 106.4 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001603/0.2555, allocations: 1.199 MB / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002818/0.2558, allocations: 108.5 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.2559, allocations: 4 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.2559, allocations: 0 / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.178e-05/0.256, allocations: 7.922 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.2562, allocations: 15.98 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.975e-05/0.2563, allocations: 43.84 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.2564, allocations: 7.984 kB / 0.9017 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.475e-05/0.2564, allocations: 19.92 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.545e-05/0.2565, allocations: 15.92 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.2565, allocations: 4 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.184e-05/0.2566, allocations: 15.98 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.481e-05/0.2566, allocations: 7.984 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.2566, allocations: 37.64 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.925e-05/0.2567, allocations: 47.86 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2568, allocations: 0 / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2568, allocations: 0 / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2568, allocations: 3.938 kB / 0.9018 GB, free: 62.24 MB / 0.6042 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.0004645/0.2572, allocations: 375.5 kB / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2573, allocations: 12.03 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.2573, allocations: 30.56 kB / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.2574, allocations: 11.91 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.2575, allocations: 174.9 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.2575, allocations: 0 / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.2575, allocations: 7.938 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.2578, allocations: 85.64 kB / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2578, allocations: 0 / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2578, allocations: 4 kB / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2578, allocations: 0 / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.2581, allocations: 91.92 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.2585, allocations: 288.9 kB / 0.9028 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.2587, allocations: 78.47 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.2588, allocations: 56.92 kB / 0.903 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.259, allocations: 109.1 kB / 0.9031 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.2591, allocations: 30.56 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2591, allocations: 0 / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005304/0.2596, allocations: 181.5 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.2596, allocations: 59.34 kB / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.719e-05/0.2597, allocations: 128 kB / 0.9035 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.2598, allocations: 25.7 kB / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.2598, allocations: 92.12 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.2598, allocations: 15.84 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.2598, allocations: 0 / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.028e-05/0.2599, allocations: 318.8 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.2601, allocations: 47.97 kB / 0.9039 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.2602, allocations: 51.95 kB / 0.904 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.2604, allocations: 39.97 kB / 0.904 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2604, allocations: 0 / 0.904 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003128/0.2607, allocations: 133.8 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2607, allocations: 15.94 kB / 0.9042 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2607, allocations: 3.984 kB / 0.9042 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2607, allocations: 0 / 0.9042 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.2609, allocations: 23.92 kB / 0.9042 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.2609, allocations: 3.984 kB / 0.9042 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.096e-05/0.261, allocations: 19.94 kB / 0.9042 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.261, allocations: 11.98 kB / 0.9042 GB, free: 59.52 MB / 0.6042 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 6.476e-05/0.2611, allocations: 109.8 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.2611, allocations: 7.906 kB / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.2615, allocations: 141.5 kB / 0.9045 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2615, allocations: 7.938 kB / 0.9045 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2615, allocations: 0 / 0.9045 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2615, allocations: 0 / 0.9045 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.2616, allocations: 181.6 kB / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2616, allocations: 4 kB / 0.9047 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.442e-05/0.2617, allocations: 23.98 kB / 0.9047 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2618, allocations: 4 kB / 0.9047 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.2618, allocations: 3.938 kB / 0.9047 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2618, allocations: 0 / 0.9047 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2618, allocations: 0 / 0.9047 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.2621, allocations: 231.3 kB / 0.9049 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.2622, allocations: 81.11 kB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.2622, allocations: 4 kB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.2623, allocations: 19.97 kB / 0.905 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.2623, allocations: 4 kB / 0.905 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.2624, allocations: 0 / 0.905 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.077e-05/0.2624, allocations: 95.27 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2624, allocations: 4 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002013/0.2626, allocations: 15.89 kB / 0.9051 GB, free: 58.5 MB / 0.6042 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.0005227/0.2631, allocations: 0.7709 MB / 0.9059 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.2635, allocations: 95.92 kB / 0.906 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2635, allocations: 4 kB / 0.906 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.2636, allocations: 55.89 kB / 0.906 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.2639, allocations: 8 kB / 0.906 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.2643, allocations: 194.2 kB / 0.9062 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.2645, allocations: 0.6887 MB / 0.9069 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.457e-05/0.2645, allocations: 7.859 kB / 0.9069 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.2646, allocations: 15.44 kB / 0.9069 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/0.2646, allocations: 0 / 0.9069 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01198/0.2766, allocations: 1.559 MB / 0.9084 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.2768, allocations: 187.4 kB / 0.9086 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/1.875, allocations: 0 / 0.9086 GB, free: 54.93 MB / 0.6042 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)