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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.563/1.563, allocations: 289.9 MB / 297.4 MB, free: 6.383 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 172.9 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.2 MB / 0.626 GB, free: 7.191 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008443/0.0008443, allocations: 87.8 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.134e-05/2.137e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6124/0.6125, allocations: 116.3 MB / 0.9732 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.7799, allocations: 138.2 MB / 1.108 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.7802, allocations: 71.95 kB / 1.108 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003082/0.7833, allocations: 1.073 MB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7833, allocations: 1.156 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.7833, allocations: 0 / 1.109 GB, free: 10.84 MB / 0.7136 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.0004149/0.7837, allocations: 373.5 kB / 1.11 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.7838, allocations: 14.56 kB / 1.11 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.7838, allocations: 6.172 kB / 1.11 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.784, allocations: 185.2 kB / 1.11 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.784, allocations: 4 kB / 1.11 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.784, allocations: 0 / 1.11 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001028/0.7841, allocations: 27.98 kB / 1.11 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.786e-05/0.7842, allocations: 49.69 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.7842, allocations: 3.938 kB / 1.11 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.7842, allocations: 0 / 1.11 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.7842, allocations: 4 kB / 1.11 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.7847, allocations: 300.6 kB / 1.11 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.508e-05/0.7848, allocations: 43.84 kB / 1.11 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.7849, allocations: 16.86 kB / 1.11 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.7851, allocations: 106.3 kB / 1.11 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.7851, allocations: 39.16 kB / 1.11 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.7851, allocations: 0 / 1.11 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002376/0.7854, allocations: 83.77 kB / 1.111 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.7854, allocations: 51.41 kB / 1.111 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.7855, allocations: 113 kB / 1.111 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.7855, allocations: 25.7 kB / 1.111 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.7856, allocations: 93.02 kB / 1.111 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.7856, allocations: 7.812 kB / 1.111 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.7856, allocations: 0 / 1.111 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.7857, allocations: 330.5 kB / 1.111 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.857e-05/0.7857, allocations: 12 kB / 1.111 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.576e-05/0.7858, allocations: 15.98 kB / 1.111 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.466e-05/0.7859, allocations: 19.98 kB / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.7859, allocations: 0.6562 kB / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001366/0.786, allocations: 77.66 kB / 1.111 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.786, allocations: 4 kB / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.786, allocations: 3.609 kB / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.7861, allocations: 6.562 kB / 1.111 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.7862, allocations: 19.98 kB / 1.111 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.7862, allocations: 0 / 1.111 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.633e-05/0.7863, allocations: 23.36 kB / 1.111 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.7863, allocations: 4 kB / 1.111 GB, free: 8.637 MB / 0.7136 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 () * 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 6.242e-05/0.7864, allocations: 108.9 kB / 1.111 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.7864, allocations: 7.906 kB / 1.111 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.7866, allocations: 82 kB / 1.112 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7866, allocations: 0 / 1.112 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.7866, allocations: 0 / 1.112 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.7866, allocations: 0 / 1.112 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.7868, allocations: 162.2 kB / 1.112 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7868, allocations: 1.312 kB / 1.112 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.7869, allocations: 31.86 kB / 1.112 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7869, allocations: 0 / 1.112 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.7869, allocations: 0 / 1.112 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.7869, allocations: 6.656 kB / 1.112 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.787, allocations: 0 / 1.112 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.7871, allocations: 171.4 kB / 1.112 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.7872, allocations: 88.94 kB / 1.112 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.7872, allocations: 3.953 kB / 1.112 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.7873, allocations: 17.98 kB / 1.112 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.7874, allocations: 7.984 kB / 1.112 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.7874, allocations: 0 / 1.112 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.441e-05/0.7875, allocations: 100.3 kB / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7875, allocations: 0 / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002098/0.7877, allocations: 8 kB / 1.112 GB, free: 7.766 MB / 0.7136 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 () * 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.0001327/0.7878, allocations: 107.2 kB / 1.112 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.7879, allocations: 31.94 kB / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7879, allocations: 0 / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.585e-05/0.788, allocations: 19.98 kB / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.7881, allocations: 8 kB / 1.112 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/0.7884, allocations: 94.42 kB / 1.112 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.7886, allocations: 0.6931 MB / 1.113 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.214e-05/0.7887, allocations: 5.875 kB / 1.113 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.7887, allocations: 7.438 kB / 1.113 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.7887, allocations: 0 / 1.113 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.002322/0.791, allocations: 0.6015 MB / 1.114 GB, free: 6.18 MB / 0.7136 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)