Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.9639/0.9639, allocations: 127.4 MB / 134.9 MB, free: 3.445 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 182.6 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.2 MB / 399.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009702/0.0009702, allocations: 85.34 kB / 476.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.068e-05/2.07e-05, allocations: 5.844 kB / 0.5466 GB, free: 95.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1582, allocations: 76.77 MB / 0.6215 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.2934, allocations: 101.8 MB / 0.721 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.2937, allocations: 71.95 kB / 0.7211 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003274/0.297, allocations: 1.083 MB / 0.7221 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.297, allocations: 0 / 0.7221 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.297, allocations: 4 kB / 0.7221 GB, free: 3.965 MB / 0.4948 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.0004308/0.2974, allocations: 366.5 kB / 0.7225 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.2975, allocations: 11.97 kB / 0.7225 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.2975, allocations: 11.86 kB / 0.7225 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.2977, allocations: 174.9 kB / 0.7227 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.2977, allocations: 4 kB / 0.7227 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.2977, allocations: 4 kB / 0.7227 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001239/0.2978, allocations: 31.98 kB / 0.7227 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.298, allocations: 49.67 kB / 0.7227 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.298, allocations: 4 kB / 0.7228 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.298, allocations: 0 / 0.7228 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.298, allocations: 0 / 0.7228 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006215/0.2986, allocations: 301.4 kB / 0.723 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.2988, allocations: 46.5 kB / 0.7231 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.595e-05/0.2989, allocations: 24.94 kB / 0.7231 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002838/0.2992, allocations: 105.1 kB / 0.7232 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.2992, allocations: 30.56 kB / 0.7232 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.2992, allocations: 0 / 0.7232 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003427/0.2996, allocations: 85.55 kB / 0.7233 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.2996, allocations: 55.36 kB / 0.7234 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.2997, allocations: 111.2 kB / 0.7235 GB, free: 2.387 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.2998, allocations: 25.7 kB / 0.7235 GB, free: 2.355 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.571e-05/0.2999, allocations: 92.14 kB / 0.7236 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.2999, allocations: 11.84 kB / 0.7236 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-06/0.2999, allocations: 7.875 kB / 0.7236 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3001, allocations: 318.8 kB / 0.7239 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.702e-05/0.3001, allocations: 12 kB / 0.7239 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.3002, allocations: 23.98 kB / 0.7239 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.3003, allocations: 19.98 kB / 0.724 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3003, allocations: 0 / 0.724 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000179/0.3005, allocations: 73.56 kB / 0.724 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3005, allocations: 8 kB / 0.724 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3005, allocations: 4 kB / 0.724 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3005, allocations: 0 / 0.724 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.3007, allocations: 19.98 kB / 0.7241 GB, free: 1.758 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.3007, allocations: 0 / 0.7241 GB, free: 1.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.3008, allocations: 23.92 kB / 0.7241 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.3009, allocations: 8 kB / 0.7241 GB, free: 1.727 MB / 0.4948 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 0.0001127/0.301, allocations: 108.9 kB / 0.7242 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.301, allocations: 3.906 kB / 0.7242 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.3013, allocations: 85.94 kB / 0.7243 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.3013, allocations: 4 kB / 0.7243 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3013, allocations: 0 / 0.7243 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3013, allocations: 0 / 0.7243 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.3016, allocations: 162.1 kB / 0.7244 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3016, allocations: 0 / 0.7244 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.3017, allocations: 27.97 kB / 0.7245 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3017, allocations: 0 / 0.7245 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.3017, allocations: 0 / 0.7245 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3017, allocations: 0 / 0.7245 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3017, allocations: 0 / 0.7245 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.302, allocations: 179.3 kB / 0.7246 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.3021, allocations: 85.11 kB / 0.7247 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.3021, allocations: 0 / 0.7247 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.3022, allocations: 15.98 kB / 0.7247 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.3023, allocations: 7.984 kB / 0.7247 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.3023, allocations: 4 kB / 0.7248 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.508e-05/0.3024, allocations: 91.28 kB / 0.7248 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3024, allocations: 0 / 0.7248 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003003/0.3027, allocations: 15.98 kB / 0.7249 GB, free: 0.8633 MB / 0.4948 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.0001685/0.3029, allocations: 99.25 kB / 0.7249 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.303, allocations: 36 kB / 0.725 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.303, allocations: 0 / 0.725 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.665e-05/0.3031, allocations: 23.92 kB / 0.725 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.3033, allocations: 11.8 kB / 0.725 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.3035, allocations: 95.8 kB / 0.7251 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.3039, allocations: 0.6962 MB / 0.7258 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.814e-05/0.3039, allocations: 4.453 kB / 0.7258 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.3039, allocations: 11.44 kB / 0.7258 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.304, allocations: 0 / 0.7258 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of Templates: time 0.002639/0.3066, allocations: 0.6074 MB / 0.7264 GB, free: 15.23 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)