Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 99 kB / 15.05 MB, free: 1.105 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: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.665/1.665, allocations: 251.9 MB / 0.51 GB, free: 4.797 MB / 414.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.0005855/0.0005857, allocations: 15.44 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.749/0.7496, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001977/0.7516, allocations: 1.199 MB / 0.7291 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003407/0.752, allocations: 100.6 kB / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.752, allocations: 4 kB / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.81e-05/0.7521, allocations: 0 / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.287e-05/0.7522, allocations: 7.969 kB / 0.7292 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.7524, allocations: 15.98 kB / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.7525, allocations: 31.89 kB / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.7526, allocations: 8 kB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.006e-05/0.7527, allocations: 15.92 kB / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.756e-05/0.7527, allocations: 23.91 kB / 0.7293 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.7528, allocations: 4 kB / 0.7293 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.508e-05/0.7528, allocations: 11.98 kB / 0.7293 GB, free: 10 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.7529, allocations: 8 kB / 0.7294 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.7529, allocations: 41.58 kB / 0.7294 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.753, allocations: 39.92 kB / 0.7294 GB, free: 9.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.753, allocations: 0 / 0.7294 GB, free: 9.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.025e-06/0.753, allocations: 0 / 0.7294 GB, free: 9.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.7531, allocations: 0 / 0.7294 GB, free: 9.91 MB / 0.545 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.0006127/0.7537, allocations: 385.1 kB / 0.7298 GB, free: 9.488 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.7537, allocations: 8.031 kB / 0.7298 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.7538, allocations: 11.91 kB / 0.7298 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.7539, allocations: 181.7 kB / 0.73 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.754, allocations: 0 / 0.73 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.754, allocations: 0 / 0.73 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.7543, allocations: 85.66 kB / 0.7301 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.7543, allocations: 0 / 0.7301 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.7543, allocations: 0 / 0.7301 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.7543, allocations: 0 / 0.7301 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004091/0.7547, allocations: 103.9 kB / 0.7302 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.7552, allocations: 284.9 kB / 0.7304 GB, free: 8.734 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.7555, allocations: 74.53 kB / 0.7305 GB, free: 8.652 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002726/0.7558, allocations: 113.2 kB / 0.7306 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.7558, allocations: 34.5 kB / 0.7307 GB, free: 8.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.7558, allocations: 0 / 0.7307 GB, free: 8.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0006232/0.7565, allocations: 177.7 kB / 0.7308 GB, free: 8.301 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.7565, allocations: 59.41 kB / 0.7309 GB, free: 8.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.7566, allocations: 125.8 kB / 0.731 GB, free: 8.098 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.7567, allocations: 25.7 kB / 0.731 GB, free: 8.066 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.7567, allocations: 92.14 kB / 0.7311 GB, free: 7.973 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.7568, allocations: 7.844 kB / 0.7311 GB, free: 7.965 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-06/0.7568, allocations: 3.938 kB / 0.7311 GB, free: 7.961 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7569, allocations: 326.8 kB / 0.7314 GB, free: 7.633 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.7571, allocations: 47.95 kB / 0.7315 GB, free: 7.586 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.7572, allocations: 47.95 kB / 0.7315 GB, free: 7.539 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.7574, allocations: 55.89 kB / 0.7316 GB, free: 7.484 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7574, allocations: 0 / 0.7316 GB, free: 7.484 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003484/0.7578, allocations: 133.5 kB / 0.7317 GB, free: 7.348 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.7578, allocations: 9.812 kB / 0.7317 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.7578, allocations: 0 / 0.7317 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.7578, allocations: 0 / 0.7317 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.758, allocations: 27.97 kB / 0.7317 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.758, allocations: 0 / 0.7317 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.19e-05/0.7581, allocations: 15.98 kB / 0.7318 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.7581, allocations: 4 kB / 0.7318 GB, free: 7.293 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.905e-05/0.7582, allocations: 121.8 kB / 0.7319 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.7582, allocations: 7.891 kB / 0.7319 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.7586, allocations: 141.5 kB / 0.732 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7586, allocations: 0 / 0.732 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.7586, allocations: 0 / 0.732 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7586, allocations: 0 / 0.732 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.7589, allocations: 189.6 kB / 0.7322 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7589, allocations: 0 / 0.7322 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.78e-05/0.759, allocations: 19.98 kB / 0.7322 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.759, allocations: 4 kB / 0.7322 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.759, allocations: 3.984 kB / 0.7322 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.759, allocations: 0 / 0.7322 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.759, allocations: 8 kB / 0.7322 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.7594, allocations: 231.3 kB / 0.7325 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.7595, allocations: 81.09 kB / 0.7325 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.7595, allocations: 0 / 0.7325 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.7596, allocations: 19.98 kB / 0.7326 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.7597, allocations: 4 kB / 0.7326 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.7597, allocations: 7.984 kB / 0.7326 GB, free: 6.367 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.255e-05/0.7598, allocations: 95.27 kB / 0.7327 GB, free: 6.273 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7598, allocations: 0 / 0.7327 GB, free: 6.273 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002241/0.76, allocations: 8 kB / 0.7327 GB, free: 6.266 MB / 0.545 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 (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.0001869/0.7602, allocations: 103.2 kB / 0.7328 GB, free: 6.156 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003961/0.7606, allocations: 103.9 kB / 0.7329 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7606, allocations: 4 kB / 0.7329 GB, free: 6.051 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.7608, allocations: 51.91 kB / 0.7329 GB, free: 6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.7611, allocations: 18.89 kB / 0.7329 GB, free: 5.984 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.7615, allocations: 167.1 kB / 0.7331 GB, free: 5.801 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.7619, allocations: 0.6926 MB / 0.7338 GB, free: 5.082 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.644e-05/0.7619, allocations: 7.859 kB / 0.7338 GB, free: 5.074 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.7619, allocations: 7.438 kB / 0.7338 GB, free: 5.066 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.762, allocations: 0 / 0.7338 GB, free: 5.066 MB / 0.545 GB Notification: Performance of Templates: time 0.003187/0.7652, allocations: 0.6358 MB / 0.7344 GB, free: 4.434 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) Environment - environmentSimulation: