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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.389/2.389, allocations: 251.3 MB / 266.2 MB, free: 11.51 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.001302/0.001302, allocations: 178.4 kB / 325.8 MB, free: 2.773 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.296/2.296, allocations: 205.4 MB / 0.5767 GB, free: 20.76 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.001013/0.001012, allocations: 90.34 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004716, allocations: 16.56 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2158, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002747/0.2186, allocations: 1.211 MB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004463/0.2191, allocations: 100.6 kB / 0.9003 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.2192, allocations: 4 kB / 0.9003 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.095e-05/0.2193, allocations: 3.938 kB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.176e-05/0.2194, allocations: 7.922 kB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.2196, allocations: 15.97 kB / 0.9003 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2198, allocations: 39.86 kB / 0.9004 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.2199, allocations: 15.98 kB / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.388e-05/0.22, allocations: 15.92 kB / 0.9004 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.184e-05/0.2201, allocations: 15.92 kB / 0.9004 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.2201, allocations: 4 kB / 0.9004 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.2203, allocations: 19.98 kB / 0.9005 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.2203, allocations: 11.98 kB / 0.9005 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.2204, allocations: 33.64 kB / 0.9005 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.2205, allocations: 35.92 kB / 0.9005 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2205, allocations: 0 / 0.9005 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2206, allocations: 0 / 0.9005 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.2206, allocations: 0 / 0.9005 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.0008104/0.2214, allocations: 395.5 kB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/0.2215, allocations: 8.031 kB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.2216, allocations: 8.844 kB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.2217, allocations: 172.2 kB / 0.9011 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.2218, allocations: 4.375 kB / 0.9011 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.2218, allocations: 4.375 kB / 0.9011 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/0.2224, allocations: 82.2 kB / 0.9012 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.2224, allocations: 4.125 kB / 0.9012 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.2225, allocations: 3.938 kB / 0.9012 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2225, allocations: 4 kB / 0.9012 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008009/0.2233, allocations: 103.9 kB / 0.9013 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005648/0.2239, allocations: 280.9 kB / 0.9016 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005065/0.2244, allocations: 82.47 kB / 0.9016 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/0.2249, allocations: 52.86 kB / 0.9017 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003979/0.2253, allocations: 113.1 kB / 0.9018 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.2254, allocations: 34.56 kB / 0.9018 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 4.449e-06/0.2254, allocations: 0 / 0.9018 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.001486/0.2269, allocations: 173.5 kB / 0.902 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.227, allocations: 59.39 kB / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.2272, allocations: 128.6 kB / 0.9022 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.2272, allocations: 25.7 kB / 0.9022 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.2273, allocations: 92.12 kB / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.2274, allocations: 11.84 kB / 0.9023 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.868e-06/0.2274, allocations: 4 kB / 0.9023 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.2275, allocations: 318.8 kB / 0.9026 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/0.2279, allocations: 51.91 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004028/0.2283, allocations: 47.95 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.2288, allocations: 43.97 kB / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.2288, allocations: 3.938 kB / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0009514/0.2298, allocations: 133.5 kB / 0.9029 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.2298, allocations: 8 kB / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.2299, allocations: 0 / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.2299, allocations: 0 / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.2302, allocations: 23.98 kB / 0.9029 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.2303, allocations: 0 / 0.9029 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.2305, allocations: 31.91 kB / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.2305, allocations: 0 / 0.9029 GB, free: 61.16 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 0.0001235/0.2307, allocations: 113.8 kB / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.2308, allocations: 7.906 kB / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009443/0.2317, allocations: 149.4 kB / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.2318, allocations: 4 kB / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.2318, allocations: 0 / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2318, allocations: 0 / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.2321, allocations: 181.6 kB / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.2322, allocations: 0 / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.2325, allocations: 19.98 kB / 0.9034 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.2325, allocations: 0 / 0.9034 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.2325, allocations: 4 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.2325, allocations: 4 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2326, allocations: 0 / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.2336, allocations: 235.6 kB / 0.9036 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.2337, allocations: 81.14 kB / 0.9037 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.2337, allocations: 4 kB / 0.9037 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.234, allocations: 27.91 kB / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.2341, allocations: 4 kB / 0.9037 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.2342, allocations: 0 / 0.9037 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001019/0.2343, allocations: 95.27 kB / 0.9038 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.61e-07/0.2343, allocations: 0 / 0.9038 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00051/0.2348, allocations: 16 kB / 0.9038 GB, free: 60.13 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.0002337/0.2351, allocations: 99.23 kB / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000945/0.2361, allocations: 99.92 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.2361, allocations: 3.938 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004218/0.2365, allocations: 51.95 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.2371, allocations: 11.94 kB / 0.9041 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006191/0.2377, allocations: 164.5 kB / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.238, allocations: 0.6848 MB / 0.9049 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.18e-05/0.2381, allocations: 7.859 kB / 0.9049 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.2381, allocations: 7.438 kB / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of SimCode: time 2.003e-06/0.2382, allocations: 0 / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.00554/0.2437, allocations: 0.6483 MB / 0.9056 GB, free: 58.31 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)