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/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 104.5 kB / 15.98 MB, free: 6.355 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.001191/0.001191, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.37/1.37, allocations: 222.9 MB / 240.6 MB, free: 13.79 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8555/0.8555, allocations: 143.1 MB / 433.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 64.05 kB / 0.5143 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3628, allocations: 82.03 MB / 0.5944 GB, free: 16.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002422/0.3652, allocations: 1.544 MB / 0.5959 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002947/0.3655, allocations: 113.8 kB / 0.5961 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.3656, allocations: 4 kB / 0.5961 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.248e-05/0.3657, allocations: 3.984 kB / 0.5961 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.063e-05/0.3657, allocations: 7.031 kB / 0.5961 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.366, allocations: 15.98 kB / 0.5961 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.811e-05/0.3661, allocations: 47.84 kB / 0.5961 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3662, allocations: 11.98 kB / 0.5961 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.814e-05/0.3662, allocations: 19.92 kB / 0.5962 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.355e-05/0.3663, allocations: 19.92 kB / 0.5962 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.3663, allocations: 4.562 kB / 0.5962 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.4e-05/0.3664, allocations: 21.48 kB / 0.5962 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.3664, allocations: 15.92 kB / 0.5962 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.3665, allocations: 19.86 kB / 0.5962 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.872e-05/0.3666, allocations: 47.92 kB / 0.5963 GB, free: 14.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3666, allocations: 1.5 kB / 0.5963 GB, free: 14.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3666, allocations: 0 / 0.5963 GB, free: 14.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3666, allocations: 0 / 0.5963 GB, free: 14.6 MB / 446.1 MB 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.0004752/0.3671, allocations: 374 kB / 0.5966 GB, free: 14.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.3671, allocations: 9.531 kB / 0.5967 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.3672, allocations: 8.844 kB / 0.5967 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.652e-05/0.3673, allocations: 180.2 kB / 0.5968 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.3673, allocations: 1.469 kB / 0.5968 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.3673, allocations: 4.375 kB / 0.5968 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.3675, allocations: 71.19 kB / 0.5969 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3675, allocations: 4.188 kB / 0.5969 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3676, allocations: 5.375 kB / 0.5969 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.3676, allocations: 0 / 0.5969 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002618/0.3678, allocations: 82.06 kB / 0.597 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.3681, allocations: 286.3 kB / 0.5973 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.3683, allocations: 74.97 kB / 0.5973 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.3685, allocations: 46.53 kB / 0.5974 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002035/0.3687, allocations: 110.5 kB / 0.5975 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.288e-05/0.3687, allocations: 31.31 kB / 0.5975 GB, free: 13.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.3687, allocations: 3.938 kB / 0.5975 GB, free: 13.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000501/0.3692, allocations: 149.4 kB / 0.5977 GB, free: 13.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.3693, allocations: 55.41 kB / 0.5977 GB, free: 12.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.3693, allocations: 124.7 kB / 0.5978 GB, free: 12.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.3694, allocations: 25.7 kB / 0.5979 GB, free: 12.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.3694, allocations: 97.58 kB / 0.598 GB, free: 12.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.3694, allocations: 11.89 kB / 0.598 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.3694, allocations: 17.72 kB / 0.598 GB, free: 12.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.3695, allocations: 316.2 kB / 0.5983 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.3696, allocations: 36.89 kB / 0.5983 GB, free: 12.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.3698, allocations: 37.11 kB / 0.5984 GB, free: 12.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.37, allocations: 82.12 kB / 0.5984 GB, free: 12.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.37, allocations: 3.938 kB / 0.5984 GB, free: 12.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002838/0.3703, allocations: 111 kB / 0.5985 GB, free: 12.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3703, allocations: 9.281 kB / 0.5986 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.3704, allocations: 0 / 0.5986 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3704, allocations: 0 / 0.5986 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.3705, allocations: 17.25 kB / 0.5986 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3705, allocations: 0 / 0.5986 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.255e-05/0.3706, allocations: 17.08 kB / 0.5986 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3706, allocations: 4 kB / 0.5986 GB, free: 12.03 MB / 446.1 MB 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 4.96e-05/0.3707, allocations: 114.6 kB / 0.5987 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.3707, allocations: 7.984 kB / 0.5987 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.371, allocations: 124.3 kB / 0.5988 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.371, allocations: 0 / 0.5988 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.371, allocations: 0 / 0.5988 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.371, allocations: 1.344 kB / 0.5988 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.3712, allocations: 189.5 kB / 0.599 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3712, allocations: 0 / 0.599 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.953e-05/0.3713, allocations: 17.52 kB / 0.599 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-06/0.3713, allocations: 0 / 0.599 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.3713, allocations: 3.984 kB / 0.599 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3713, allocations: 0 / 0.599 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3713, allocations: 1.312 kB / 0.599 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.3716, allocations: 205.9 kB / 0.5992 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.3716, allocations: 89.03 kB / 0.5993 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.3716, allocations: 3.938 kB / 0.5993 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3718, allocations: 17.39 kB / 0.5993 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.3718, allocations: 11.94 kB / 0.5993 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.3718, allocations: 5.281 kB / 0.5993 GB, free: 11.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.3718, allocations: 99.25 kB / 0.5994 GB, free: 11.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3718, allocations: 0 / 0.5994 GB, free: 11.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.3721, allocations: 13.53 kB / 0.5995 GB, free: 11.05 MB / 446.1 MB 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.0001187/0.3722, allocations: 99.25 kB / 0.5995 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003142/0.3725, allocations: 85.53 kB / 0.5996 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3725, allocations: 0.875 kB / 0.5996 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.3727, allocations: 37.47 kB / 0.5997 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.3729, allocations: 18.55 kB / 0.5997 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.3732, allocations: 189.5 kB / 0.5999 GB, free: 10.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.3734, allocations: 0.6935 MB / 0.6005 GB, free: 9.879 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.3734, allocations: 11.44 kB / 0.6006 GB, free: 9.867 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3734, allocations: 0 / 0.6006 GB, free: 9.867 MB / 446.1 MB Notification: Performance of Templates: time 0.002/0.3754, allocations: 0.8972 MB / 0.6014 GB, free: 9.012 MB / 446.1 MB 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)