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.323/1.323, allocations: 252 MB / 267.3 MB, free: 10.86 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.0009914/0.0009914, allocations: 180 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0007273/0.0007275, allocations: 79.75 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003067, allocations: 16.23 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2019, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.00204/0.204, allocations: 1.219 MB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004185/0.2045, allocations: 112.6 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.2046, allocations: 0 / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.2046, allocations: 4 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.577e-05/0.2047, allocations: 7.938 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.2049, allocations: 27.89 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.205e-05/0.205, allocations: 43.86 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.2051, allocations: 4 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.733e-05/0.2052, allocations: 11.98 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.958e-05/0.2052, allocations: 23.86 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.2053, allocations: 3.938 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.328e-05/0.2053, allocations: 23.97 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.968e-05/0.2054, allocations: 4 kB / 0.9024 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.2054, allocations: 49.56 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.2056, allocations: 55.78 kB / 0.9025 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.2056, allocations: 4 kB / 0.9025 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.145e-06/0.2056, allocations: 3.938 kB / 0.9025 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2056, allocations: 4 kB / 0.9025 GB, free: 61.8 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.0005302/0.2061, allocations: 371.7 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.2062, allocations: 8.031 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.157e-05/0.2062, allocations: 38.73 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.2063, allocations: 4.844 kB / 0.9029 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.2064, allocations: 172.2 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.2064, allocations: 4.375 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.2064, allocations: 384 / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.2067, allocations: 90.2 kB / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.2068, allocations: 3.938 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.2068, allocations: 4 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.2068, allocations: 3.984 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.2071, allocations: 99.86 kB / 0.9032 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.2074, allocations: 296.7 kB / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.2076, allocations: 74.64 kB / 0.9036 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.2078, allocations: 56.81 kB / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/0.208, allocations: 105.1 kB / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.208, allocations: 34.56 kB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.208, allocations: 7.938 kB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005297/0.2086, allocations: 177.6 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.2086, allocations: 51.41 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.898e-05/0.2087, allocations: 125.8 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.2087, allocations: 25.7 kB / 0.9041 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.2087, allocations: 100 kB / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.2088, allocations: 7.844 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.2088, allocations: 4 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.52e-05/0.2089, allocations: 318.8 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.209, allocations: 47.95 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.2091, allocations: 47.95 kB / 0.9046 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.2094, allocations: 108.7 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2094, allocations: 0 / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003169/0.2097, allocations: 133.5 kB / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2098, allocations: 4 kB / 0.9049 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2098, allocations: 0 / 0.9049 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2098, allocations: 0 / 0.9049 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.2099, allocations: 31.91 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.2099, allocations: 3.984 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.647e-05/0.21, allocations: 15.98 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.21, allocations: 4 kB / 0.9049 GB, free: 59.03 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.21e-05/0.2101, allocations: 117.8 kB / 0.905 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.2101, allocations: 7.984 kB / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003555/0.2105, allocations: 145.4 kB / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2105, allocations: 0 / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.2105, allocations: 0 / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2105, allocations: 4 kB / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.2107, allocations: 181.6 kB / 0.9054 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2107, allocations: 0 / 0.9054 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.402e-05/0.2108, allocations: 19.98 kB / 0.9054 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.2108, allocations: 384 / 0.9054 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.2108, allocations: 11.92 kB / 0.9054 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2108, allocations: 0 / 0.9054 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2108, allocations: 4 kB / 0.9054 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.2112, allocations: 231.3 kB / 0.9056 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.2112, allocations: 85 kB / 0.9057 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.2112, allocations: 0 / 0.9057 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/0.2113, allocations: 19.98 kB / 0.9057 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.2114, allocations: 4 kB / 0.9057 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.2114, allocations: 3.984 kB / 0.9057 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.165e-05/0.2114, allocations: 105 kB / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2114, allocations: 0 / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002027/0.2116, allocations: 12 kB / 0.9058 GB, free: 57.99 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005423/0.2122, allocations: 0.7669 MB / 0.9066 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003167/0.2125, allocations: 99.92 kB / 0.9067 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2125, allocations: 0 / 0.9067 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.2127, allocations: 51.95 kB / 0.9067 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.2129, allocations: 13.08 kB / 0.9067 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.2133, allocations: 194.3 kB / 0.9069 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.2135, allocations: 0.6848 MB / 0.9076 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.316e-05/0.2135, allocations: 11.8 kB / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.2136, allocations: 19.44 kB / 0.9076 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2136, allocations: 0 / 0.9076 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01126/0.2249, allocations: 1.569 MB / 0.9092 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/0.2251, allocations: 204.6 kB / 0.9094 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/1.779, allocations: 3.938 kB / 0.9094 GB, free: 54.39 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)