Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001193/0.001193, 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.001236/0.001236, allocations: 191.5 kB / 16.25 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.827/2.827, allocations: 472.6 MB / 0.7448 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.58 kB / 0.9115 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.337, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003193/0.3402, allocations: 1.547 MB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003216/0.3406, allocations: 119.6 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.3406, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.938e-05/0.3407, allocations: 3.984 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.147e-05/0.3408, allocations: 7.938 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.341, allocations: 19.97 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.454e-05/0.3412, allocations: 51.78 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3413, allocations: 8 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.783e-05/0.3413, allocations: 15.92 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.589e-05/0.3414, allocations: 27.92 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.3414, allocations: 4 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.295e-05/0.3415, allocations: 23.98 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.794e-05/0.3415, allocations: 11.98 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.3416, allocations: 23.8 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.3417, allocations: 51.86 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3417, allocations: 0 / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3417, allocations: 0 / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3417, allocations: 0 / 1.07 GB, free: 8.879 MB / 0.8262 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.0006004/0.3423, allocations: 387.5 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3424, allocations: 8.031 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.3424, allocations: 8.844 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.3426, allocations: 168.3 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3426, allocations: 384 / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.3426, allocations: 12.31 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.3429, allocations: 78.14 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.3429, allocations: 8.188 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3429, allocations: 3.938 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.343, allocations: 4 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.3433, allocations: 67.92 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.3439, allocations: 288.9 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.3442, allocations: 74.41 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.3443, allocations: 40.92 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004363/0.3448, allocations: 113 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.3448, allocations: 34.55 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 2.254e-06/0.3448, allocations: 0 / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.000679/0.3455, allocations: 145.6 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.3456, allocations: 55.41 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.3458, allocations: 129.8 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.3458, allocations: 25.7 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.66e-05/0.3459, allocations: 99.98 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.3459, allocations: 3.906 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-05/0.346, allocations: 17.72 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3462, allocations: 314.8 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.3464, allocations: 47.89 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.3465, allocations: 35.97 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.3468, allocations: 73.06 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3468, allocations: 3.938 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003815/0.3472, allocations: 121.5 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.3472, allocations: 4 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.3473, allocations: 0 / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.3473, allocations: 0 / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.3474, allocations: 23.92 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.3475, allocations: 0 / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.3476, allocations: 19.97 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.3476, allocations: 0 / 1.072 GB, free: 6.266 MB / 0.8262 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 0.0001335/0.3477, allocations: 117.8 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.3478, allocations: 4 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004174/0.3482, allocations: 113.5 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.3482, allocations: 8 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.3482, allocations: 3.938 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3483, allocations: 0 / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.3485, allocations: 177.6 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3485, allocations: 4 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.658e-05/0.3486, allocations: 15.92 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.3487, allocations: 0 / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.3487, allocations: 0 / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3487, allocations: 4 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3487, allocations: 0 / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.3491, allocations: 211.3 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.3492, allocations: 85.02 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.3492, allocations: 0 / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.3493, allocations: 15.98 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.3494, allocations: 11.98 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.3494, allocations: 0 / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001511/0.3496, allocations: 102.6 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3496, allocations: 0 / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002545/0.3498, allocations: 12 kB / 1.073 GB, free: 5.293 MB / 0.8262 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.0002374/0.3501, allocations: 103.2 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003951/0.3505, allocations: 79.92 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3505, allocations: 0 / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.3507, allocations: 43.95 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.351, allocations: 7.938 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004381/0.3514, allocations: 173.3 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.3518, allocations: 0.6962 MB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.014e-05/0.3519, allocations: 3.859 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.3519, allocations: 7.438 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.3519, allocations: 4 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of Templates: time 0.003266/0.3552, allocations: 0.6936 MB / 1.074 GB, free: 3.434 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)