Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.739/2.739, allocations: 251.1 MB / 266.1 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001722/0.001722, allocations: 182.7 kB / 325.6 MB, free: 2.781 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.526/2.526, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001457/0.001457, allocations: 104.7 kB / 0.6811 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006344/0.0006349, allocations: 11.94 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2285, allocations: 106.3 MB / 0.8989 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001992/0.2306, allocations: 1.202 MB / 0.9 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003259/0.231, allocations: 109.7 kB / 0.9002 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.231, allocations: 0 / 0.9002 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.453e-05/0.2311, allocations: 3.984 kB / 0.9002 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.2312, allocations: 0 / 0.9002 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.2314, allocations: 19.97 kB / 0.9002 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.675e-05/0.2315, allocations: 31.91 kB / 0.9002 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.2316, allocations: 11.97 kB / 0.9002 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.411e-05/0.2317, allocations: 15.92 kB / 0.9002 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.2317, allocations: 23.92 kB / 0.9003 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.2318, allocations: 0 / 0.9003 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.891e-05/0.2318, allocations: 19.98 kB / 0.9003 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.634e-05/0.2319, allocations: 7.969 kB / 0.9003 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.2319, allocations: 41.58 kB / 0.9003 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.2321, allocations: 39.88 kB / 0.9004 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2321, allocations: 0 / 0.9004 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2321, allocations: 0 / 0.9004 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2321, allocations: 0 / 0.9004 GB, free: 63.86 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.0006356/0.2327, allocations: 379.4 kB / 0.9007 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.2328, allocations: 8.031 kB / 0.9007 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.2329, allocations: 11.89 kB / 0.9007 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.233, allocations: 174.9 kB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.233, allocations: 0 / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.2331, allocations: 4 kB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.2334, allocations: 85.64 kB / 0.901 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2335, allocations: 4 kB / 0.901 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.2335, allocations: 4 kB / 0.901 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.2335, allocations: 0 / 0.901 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005535/0.2341, allocations: 95.86 kB / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.2345, allocations: 292.9 kB / 0.9014 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.2349, allocations: 78.53 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/0.2352, allocations: 109.2 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.2352, allocations: 34.5 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.866e-06/0.2352, allocations: 0 / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0009091/0.2361, allocations: 181.5 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.2362, allocations: 59.41 kB / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.2363, allocations: 124.7 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.2363, allocations: 29.7 kB / 0.902 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.2364, allocations: 88.12 kB / 0.902 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.2364, allocations: 15.84 kB / 0.9021 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-06/0.2364, allocations: 0 / 0.9021 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.55e-05/0.2365, allocations: 318.8 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.2368, allocations: 47.97 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.237, allocations: 47.95 kB / 0.9025 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.2373, allocations: 43.97 kB / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2373, allocations: 3.938 kB / 0.9025 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006008/0.2379, allocations: 133.5 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.238, allocations: 13.97 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.238, allocations: 0 / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.238, allocations: 0 / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.2382, allocations: 27.97 kB / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.2382, allocations: 0 / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.2384, allocations: 23.94 kB / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.2384, allocations: 4 kB / 0.9027 GB, free: 61.24 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 9.012e-05/0.2385, allocations: 113.8 kB / 0.9028 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.2386, allocations: 8.234 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006367/0.2392, allocations: 157.4 kB / 0.903 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.2392, allocations: 0 / 0.903 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2393, allocations: 0 / 0.903 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2393, allocations: 0 / 0.903 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.2395, allocations: 181.6 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2395, allocations: 0 / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.2397, allocations: 19.98 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.2397, allocations: 4 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.2397, allocations: 0 / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2397, allocations: 0 / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2397, allocations: 0 / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/0.2403, allocations: 235.3 kB / 0.9034 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.2404, allocations: 81.11 kB / 0.9035 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.2404, allocations: 0 / 0.9035 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.2406, allocations: 27.97 kB / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.2407, allocations: 0 / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.2407, allocations: 0 / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.503e-05/0.2408, allocations: 103.3 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2408, allocations: 0 / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000328/0.2411, allocations: 15.98 kB / 0.9036 GB, free: 60.21 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.0001661/0.2413, allocations: 95.25 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006002/0.2419, allocations: 103.9 kB / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2419, allocations: 0 / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.2422, allocations: 51.89 kB / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.2424, allocations: 11.95 kB / 0.9038 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.2429, allocations: 164.5 kB / 0.904 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.243, allocations: 0.6887 MB / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.24e-05/0.2431, allocations: 7.844 kB / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.2432, allocations: 7.438 kB / 0.9047 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of SimCode: time 1.222e-06/0.2432, allocations: 4 kB / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.003632/0.2468, allocations: 0.6423 MB / 0.9053 GB, free: 58.39 MB / 0.6042 GB