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.00101/0.00101, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 191.1 kB / 16.25 MB, free: 6.629 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.274/1.274, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.574/1.574, allocations: 292.2 MB / 0.5485 GB, free: 13.62 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.001287/0.001287, allocations: 67.23 kB / 0.671 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2007, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002668/0.2034, allocations: 1.541 MB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002769/0.2037, allocations: 120.5 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.882e-05/0.2037, allocations: 0 / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.885e-05/0.2037, allocations: 0 / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.364e-05/0.2038, allocations: 11.94 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.204, allocations: 23.91 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.545e-05/0.2041, allocations: 39.92 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.464e-05/0.2042, allocations: 8 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.067e-05/0.2042, allocations: 15.92 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.535e-05/0.2043, allocations: 27.89 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.2043, allocations: 4 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.739e-05/0.2043, allocations: 23.98 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.2044, allocations: 23.92 kB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.2044, allocations: 15.88 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.2045, allocations: 51.86 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2046, allocations: 0 / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2046, allocations: 7.922 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.2046, allocations: 0 / 0.7847 GB, free: 11.95 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.0004448/0.205, allocations: 383.5 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.2051, allocations: 8.031 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.2051, allocations: 12.84 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.354e-05/0.2052, allocations: 172.3 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.2052, allocations: 384 / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.2052, allocations: 4.375 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.2055, allocations: 70.22 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.2055, allocations: 192 / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.2055, allocations: 3.938 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2055, allocations: 4 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.2058, allocations: 83.91 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.2061, allocations: 288.8 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.2063, allocations: 70.47 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.2065, allocations: 48.91 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.2067, allocations: 105.1 kB / 0.7859 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.2068, allocations: 30.56 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.2068, allocations: 4 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005201/0.2073, allocations: 153.5 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.2073, allocations: 51.41 kB / 0.7861 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.052e-05/0.2074, allocations: 126.6 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.2074, allocations: 25.7 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.2075, allocations: 104 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.2075, allocations: 7.891 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.2076, allocations: 17.72 kB / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.345e-05/0.2077, allocations: 310.8 kB / 0.7867 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.2078, allocations: 35.95 kB / 0.7867 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.2079, allocations: 43.95 kB / 0.7868 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.2082, allocations: 76.78 kB / 0.7869 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2082, allocations: 7.875 kB / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002994/0.2085, allocations: 113.5 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2085, allocations: 4 kB / 0.787 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2085, allocations: 0 / 0.787 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2086, allocations: 0 / 0.787 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.2087, allocations: 23.91 kB / 0.787 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.2087, allocations: 0 / 0.787 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.313e-05/0.2088, allocations: 11.98 kB / 0.787 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.2088, allocations: 4 kB / 0.787 GB, free: 9.344 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 6.565e-05/0.2088, allocations: 117.8 kB / 0.7871 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.2089, allocations: 3.906 kB / 0.7871 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.2092, allocations: 125.4 kB / 0.7872 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2092, allocations: 4 kB / 0.7873 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.2092, allocations: 0 / 0.7873 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2092, allocations: 0 / 0.7873 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.2094, allocations: 177.6 kB / 0.7874 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2094, allocations: 8 kB / 0.7874 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.875e-05/0.2095, allocations: 11.98 kB / 0.7874 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2095, allocations: 0 / 0.7874 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.2095, allocations: 0 / 0.7874 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.2095, allocations: 7.984 kB / 0.7874 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2095, allocations: 0 / 0.7874 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.2099, allocations: 207.4 kB / 0.7876 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.2099, allocations: 85 kB / 0.7877 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.2099, allocations: 4 kB / 0.7877 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.913e-05/0.21, allocations: 7.984 kB / 0.7877 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.2101, allocations: 12 kB / 0.7878 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.2101, allocations: 0 / 0.7878 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.2101, allocations: 102.5 kB / 0.7878 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2101, allocations: 4 kB / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000219/0.2104, allocations: 16 kB / 0.7879 GB, free: 8.363 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.0001189/0.2105, allocations: 103.2 kB / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003125/0.2108, allocations: 76.34 kB / 0.788 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2108, allocations: 0 / 0.788 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.211, allocations: 51.89 kB / 0.7881 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.2112, allocations: 12.06 kB / 0.7881 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.2115, allocations: 170.4 kB / 0.7883 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.2117, allocations: 0.6924 MB / 0.7889 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.891e-05/0.2118, allocations: 0 / 0.7889 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.2118, allocations: 15.44 kB / 0.789 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2118, allocations: 3.938 kB / 0.789 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of Templates: time 0.002437/0.2142, allocations: 0.682 MB / 0.7896 GB, free: 6.512 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)