Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009838/0.0009838, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009751/0.0009752, allocations: 186.4 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 292.3 MB / 0.5489 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 74.91 kB / 0.6723 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2077, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002867/0.2106, allocations: 1.491 MB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003156/0.2109, allocations: 100.6 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.211, allocations: 4 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.606e-05/0.211, allocations: 3.938 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.621e-05/0.2111, allocations: 11.88 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.2114, allocations: 27.91 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.616e-05/0.2115, allocations: 47.89 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2116, allocations: 4 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.138e-05/0.2116, allocations: 19.92 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.2117, allocations: 23.91 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.2117, allocations: 4 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.771e-05/0.2118, allocations: 19.98 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.2118, allocations: 15.92 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.2119, allocations: 23.88 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.212, allocations: 63.73 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.212, allocations: 0 / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.754e-06/0.212, allocations: 0 / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.212, allocations: 0 / 0.7859 GB, free: 10.86 MB / 0.6075 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.0005195/0.2126, allocations: 377.8 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.2126, allocations: 12.03 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.2126, allocations: 4.844 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2128, allocations: 176.3 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.2128, allocations: 8.375 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.2128, allocations: 4.312 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.2131, allocations: 70.22 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.2131, allocations: 4.188 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.2131, allocations: 3.938 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2131, allocations: 3.984 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.2134, allocations: 83.84 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.2138, allocations: 284.8 kB / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.214, allocations: 66.47 kB / 0.787 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.2141, allocations: 48.91 kB / 0.787 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.2144, allocations: 105.1 kB / 0.7871 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.2144, allocations: 42.5 kB / 0.7872 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.2144, allocations: 0 / 0.7872 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005456/0.215, allocations: 141.6 kB / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.215, allocations: 51.41 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.2151, allocations: 133 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.2151, allocations: 25.7 kB / 0.7875 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/0.2152, allocations: 96.03 kB / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.2152, allocations: 15.89 kB / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.2153, allocations: 13.72 kB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.2154, allocations: 314.8 kB / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.2155, allocations: 39.95 kB / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.2157, allocations: 35.95 kB / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.216, allocations: 84.72 kB / 0.7881 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.216, allocations: 3.938 kB / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003203/0.2163, allocations: 109.5 kB / 0.7882 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2163, allocations: 4 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2163, allocations: 7.938 kB / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2163, allocations: 0 / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.2165, allocations: 19.97 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2165, allocations: 0 / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.664e-05/0.2166, allocations: 15.98 kB / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.2166, allocations: 0 / 0.7882 GB, free: 8.262 MB / 0.6075 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 8.552e-05/0.2167, allocations: 122.4 kB / 0.7883 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.2167, allocations: 7.906 kB / 0.7883 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003609/0.2171, allocations: 121.5 kB / 0.7885 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2171, allocations: 0 / 0.7885 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2171, allocations: 0 / 0.7885 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2171, allocations: 0 / 0.7885 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.2173, allocations: 181.6 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2173, allocations: 0 / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.184e-05/0.2174, allocations: 19.98 kB / 0.7886 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2174, allocations: 4.375 kB / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.2174, allocations: 3.938 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.2174, allocations: 0 / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2174, allocations: 3.984 kB / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.2178, allocations: 211.3 kB / 0.7889 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.2178, allocations: 89 kB / 0.7889 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.2179, allocations: 0 / 0.7889 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.218, allocations: 11.98 kB / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.218, allocations: 0 / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.218, allocations: 0 / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.16e-05/0.2181, allocations: 107.2 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2181, allocations: 0 / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002269/0.2183, allocations: 12 kB / 0.7891 GB, free: 7.277 MB / 0.6075 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.0001509/0.2185, allocations: 107.2 kB / 0.7892 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003399/0.2188, allocations: 79.86 kB / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2189, allocations: 0 / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.219, allocations: 43.95 kB / 0.7893 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.2193, allocations: 7.938 kB / 0.7893 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.2196, allocations: 153.4 kB / 0.7894 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.2199, allocations: 0.6846 MB / 0.7901 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.091e-05/0.2199, allocations: 7.938 kB / 0.7901 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.22, allocations: 7.438 kB / 0.7901 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.22, allocations: 0 / 0.7901 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of Templates: time 0.002828/0.2228, allocations: 0.801 MB / 0.7909 GB, free: 5.336 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)