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: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001058/0.001058, allocations: 181.1 kB / 326.5 MB, free: 2.684 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.14/2.14, allocations: 205 MB / 0.5766 GB, free: 20.97 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.0007922/0.0007924, allocations: 92.73 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.0003311, allocations: 9.188 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2136, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001675/0.2153, allocations: 1.215 MB / 0.8979 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003563/0.2157, allocations: 121.2 kB / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.197e-05/0.2157, allocations: 0 / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.392e-05/0.2158, allocations: 4 kB / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.55e-05/0.2159, allocations: 3.938 kB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.2161, allocations: 19.97 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.979e-05/0.2162, allocations: 47.86 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.2163, allocations: 7.938 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.958e-05/0.2163, allocations: 15.92 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.2164, allocations: 23.91 kB / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.2164, allocations: 0 / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.071e-05/0.2165, allocations: 23.98 kB / 0.8982 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.2165, allocations: 15.92 kB / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.2166, allocations: 19.86 kB / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.763e-05/0.2167, allocations: 31.94 kB / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2167, allocations: 0 / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2167, allocations: 0 / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.2167, allocations: 0 / 0.8982 GB, free: 66.62 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.0004742/0.2172, allocations: 387.3 kB / 0.8986 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2172, allocations: 8.031 kB / 0.8986 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.2173, allocations: 8.844 kB / 0.8986 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.2174, allocations: 180.2 kB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.2174, allocations: 384 / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.2174, allocations: 384 / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.2177, allocations: 98.14 kB / 0.8989 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.2177, allocations: 192 / 0.8989 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.2177, allocations: 7.938 kB / 0.8989 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.2178, allocations: 4 kB / 0.8989 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/0.2181, allocations: 95.86 kB / 0.899 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.2184, allocations: 284.9 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.2186, allocations: 86.41 kB / 0.8994 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.2188, allocations: 52.92 kB / 0.8994 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/0.219, allocations: 109.1 kB / 0.8995 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.219, allocations: 30.56 kB / 0.8995 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.219, allocations: 0 / 0.8995 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005067/0.2196, allocations: 185.5 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.2196, allocations: 55.41 kB / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.199e-05/0.2197, allocations: 121.8 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.2197, allocations: 29.7 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.2197, allocations: 96.03 kB / 0.9 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.2198, allocations: 7.906 kB / 0.9 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.2198, allocations: 13.72 kB / 0.9 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.401e-05/0.2199, allocations: 318.8 kB / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.22, allocations: 43.97 kB / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.2201, allocations: 51.95 kB / 0.9004 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.2204, allocations: 100.8 kB / 0.9005 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2204, allocations: 3.938 kB / 0.9005 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003001/0.2207, allocations: 133.5 kB / 0.9006 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2207, allocations: 11.98 kB / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2207, allocations: 0 / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.2208, allocations: 0 / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.2209, allocations: 23.98 kB / 0.9007 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.2209, allocations: 0 / 0.9007 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.503e-05/0.221, allocations: 15.98 kB / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.221, allocations: 0 / 0.9007 GB, free: 63.86 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.444e-05/0.2211, allocations: 121.8 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.2211, allocations: 8 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.2215, allocations: 141.5 kB / 0.901 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2215, allocations: 0 / 0.901 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2215, allocations: 0 / 0.901 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2215, allocations: 3.938 kB / 0.901 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.2216, allocations: 193.4 kB / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2216, allocations: 0 / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.844e-05/0.2217, allocations: 19.97 kB / 0.9012 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2217, allocations: 4 kB / 0.9012 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2218, allocations: 4 kB / 0.9012 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2218, allocations: 0 / 0.9012 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2218, allocations: 0 / 0.9012 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.2221, allocations: 231.4 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.2221, allocations: 85.02 kB / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.2221, allocations: 3.938 kB / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.895e-05/0.2222, allocations: 19.98 kB / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.2223, allocations: 7.984 kB / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.2223, allocations: 4 kB / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.236e-05/0.2224, allocations: 101.1 kB / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3e-07/0.2224, allocations: 0 / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00021/0.2226, allocations: 8 kB / 0.9016 GB, free: 62.82 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.0001452/0.2227, allocations: 99.25 kB / 0.9017 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003248/0.2231, allocations: 104.3 kB / 0.9018 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2231, allocations: 4 kB / 0.9018 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.2232, allocations: 47.97 kB / 0.9019 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.2235, allocations: 16.11 kB / 0.9019 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.2238, allocations: 184.9 kB / 0.902 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.2239, allocations: 0.6887 MB / 0.9027 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.2239, allocations: 11.44 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.2239, allocations: 3.938 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.002183/0.2261, allocations: 0.8775 MB / 0.9036 GB, free: 60.74 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)