Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001386/0.001386, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001445/0.001445, allocations: 193.7 kB / 16.13 MB, free: 6.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5947/0.5947, allocations: 95.48 MB / 364.8 MB, free: 10.11 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 63.92 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4302, allocations: 69.07 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002779/0.433, allocations: 1.523 MB / 0.5032 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003469/0.4334, allocations: 88.33 kB / 0.5033 GB, free: 16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.4334, allocations: 4 kB / 0.5033 GB, free: 16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.765e-05/0.4335, allocations: 7.922 kB / 0.5033 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.321e-05/0.4336, allocations: 7.922 kB / 0.5033 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.4337, allocations: 11.98 kB / 0.5033 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.337e-05/0.4338, allocations: 43.92 kB / 0.5033 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.4339, allocations: 11.98 kB / 0.5033 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.647e-05/0.434, allocations: 15.92 kB / 0.5034 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.861e-05/0.434, allocations: 19.92 kB / 0.5034 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.4341, allocations: 0 / 0.5034 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.33e-05/0.4342, allocations: 23.92 kB / 0.5034 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.4342, allocations: 15.92 kB / 0.5034 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.4343, allocations: 23.84 kB / 0.5034 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.4344, allocations: 49.78 kB / 0.5035 GB, free: 15.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.4344, allocations: 12 kB / 0.5035 GB, free: 15.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4344, allocations: 0 / 0.5035 GB, free: 15.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.4344, allocations: 0 / 0.5035 GB, free: 15.76 MB / 382.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.0005415/0.435, allocations: 371.2 kB / 0.5039 GB, free: 15.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.435, allocations: 15.97 kB / 0.5039 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.4351, allocations: 8.844 kB / 0.5039 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.4352, allocations: 172.2 kB / 0.504 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.4352, allocations: 4.375 kB / 0.504 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.4352, allocations: 7.938 kB / 0.5041 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.4355, allocations: 77.64 kB / 0.5041 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4356, allocations: 0 / 0.5041 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.4356, allocations: 3.938 kB / 0.5041 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4356, allocations: 0 / 0.5041 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.4359, allocations: 79.86 kB / 0.5042 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.4363, allocations: 288.9 kB / 0.5045 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.4365, allocations: 62.64 kB / 0.5045 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.4366, allocations: 44.81 kB / 0.5046 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/0.4369, allocations: 113.1 kB / 0.5047 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.4369, allocations: 34.5 kB / 0.5047 GB, free: 14.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.4369, allocations: 0 / 0.5047 GB, free: 14.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005307/0.4375, allocations: 149.5 kB / 0.5049 GB, free: 14.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.4375, allocations: 51.41 kB / 0.5049 GB, free: 14.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.261e-05/0.4376, allocations: 125.8 kB / 0.505 GB, free: 13.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.4376, allocations: 25.7 kB / 0.5051 GB, free: 13.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.4377, allocations: 92.14 kB / 0.5051 GB, free: 13.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.4377, allocations: 11.83 kB / 0.5052 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.4378, allocations: 17.72 kB / 0.5052 GB, free: 13.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.4379, allocations: 326.7 kB / 0.5055 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.438, allocations: 39.95 kB / 0.5055 GB, free: 13.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.4381, allocations: 35.95 kB / 0.5056 GB, free: 13.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.4384, allocations: 88.72 kB / 0.5056 GB, free: 13.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4384, allocations: 0 / 0.5056 GB, free: 13.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002753/0.4387, allocations: 105.5 kB / 0.5057 GB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4387, allocations: 4 kB / 0.5058 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4387, allocations: 4 kB / 0.5058 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.4387, allocations: 4 kB / 0.5058 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.4389, allocations: 23.97 kB / 0.5058 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4389, allocations: 0 / 0.5058 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.047e-05/0.439, allocations: 11.98 kB / 0.5058 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.439, allocations: 3.938 kB / 0.5058 GB, free: 13.16 MB / 382.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 7.575e-05/0.4391, allocations: 113.8 kB / 0.5059 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.4391, allocations: 15.83 kB / 0.5059 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.4394, allocations: 121.8 kB / 0.506 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.4394, allocations: 0 / 0.506 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4395, allocations: 0 / 0.506 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4395, allocations: 0 / 0.506 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.4396, allocations: 181.6 kB / 0.5062 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4396, allocations: 0 / 0.5062 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.454e-05/0.4397, allocations: 19.98 kB / 0.5062 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4397, allocations: 0 / 0.5062 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.4397, allocations: 7.984 kB / 0.5062 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4398, allocations: 0 / 0.5062 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.4398, allocations: 0 / 0.5062 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.4401, allocations: 219.2 kB / 0.5064 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.4401, allocations: 81.09 kB / 0.5065 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.4401, allocations: 0 / 0.5065 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4402, allocations: 11.98 kB / 0.5065 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.4403, allocations: 4 kB / 0.5065 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.4403, allocations: 3.984 kB / 0.5065 GB, free: 12.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.467e-05/0.4404, allocations: 110.8 kB / 0.5066 GB, free: 12.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4404, allocations: 0 / 0.5066 GB, free: 12.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.4406, allocations: 8 kB / 0.5067 GB, free: 12.18 MB / 382.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.0001493/0.4408, allocations: 103.2 kB / 0.5068 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003383/0.4411, allocations: 87.84 kB / 0.5068 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4412, allocations: 0 / 0.5068 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.4413, allocations: 35.97 kB / 0.5069 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.4416, allocations: 18.09 kB / 0.5069 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.442, allocations: 159.5 kB / 0.507 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.4422, allocations: 0.6848 MB / 0.5077 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.633e-05/0.4423, allocations: 7.984 kB / 0.5077 GB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.4423, allocations: 7.438 kB / 0.5077 GB, free: 11.02 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4423, allocations: 0 / 0.5077 GB, free: 11.02 MB / 382.1 MB Notification: Performance of Templates: time 0.003228/0.4456, allocations: 0.6665 MB / 0.5084 GB, free: 10.36 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)