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.004318/0.004318, allocations: 102.2 kB / 15.73 MB, free: 6.016 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.001087/0.001087, allocations: 195.4 kB / 16.68 MB, free: 5.938 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.2/1.2, allocations: 205.1 MB / 222.5 MB, free: 12.2 MB / 190.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.227/1.227, allocations: 251.7 MB / 0.5094 GB, free: 396 kB / 430.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.001265/0.001265, allocations: 71.89 kB / 0.7258 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5155/0.5168, allocations: 104.7 MB / 0.828 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002393/0.5192, allocations: 1.484 MB / 0.8295 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0002971/0.5195, allocations: 104.6 kB / 0.8296 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.6e-05/0.5196, allocations: 4 kB / 0.8296 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 4.479e-05/0.5196, allocations: 3.938 kB / 0.8296 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.077e-05/0.5197, allocations: 7.875 kB / 0.8296 GB, free: 1 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.5199, allocations: 19.97 kB / 0.8296 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.792e-05/0.52, allocations: 51.83 kB / 0.8297 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.5201, allocations: 16 kB / 0.8297 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.277e-05/0.5202, allocations: 19.86 kB / 0.8297 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.135e-05/0.5203, allocations: 23.92 kB / 0.8297 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.5203, allocations: 4 kB / 0.8297 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 6.572e-05/0.5203, allocations: 19.98 kB / 0.8297 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.5204, allocations: 7.984 kB / 0.8298 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.5204, allocations: 27.8 kB / 0.8298 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.5206, allocations: 51.86 kB / 0.8298 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5206, allocations: 0 / 0.8298 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5206, allocations: 0 / 0.8298 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.5206, allocations: 0 / 0.8298 GB, free: 0.7617 MB / 0.6231 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.0005354/0.5211, allocations: 389 kB / 0.8302 GB, free: 344 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.5212, allocations: 11.97 kB / 0.8302 GB, free: 332 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.5212, allocations: 8.844 kB / 0.8302 GB, free: 324 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.5214, allocations: 172.2 kB / 0.8304 GB, free: 112 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.5214, allocations: 384 / 0.8304 GB, free: 112 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.5214, allocations: 384 / 0.8304 GB, free: 112 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.5217, allocations: 86.14 kB / 0.8305 GB, free: 20 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.5217, allocations: 192 / 0.8305 GB, free: 20 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.5217, allocations: 3.938 kB / 0.8305 GB, free: 16 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.5217, allocations: 0 / 0.8305 GB, free: 16 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.522, allocations: 75.92 kB / 0.8305 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.5223, allocations: 285 kB / 0.8308 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.5226, allocations: 74.41 kB / 0.8309 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.5227, allocations: 36.92 kB / 0.8309 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.5229, allocations: 117.1 kB / 0.831 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.5229, allocations: 30.56 kB / 0.8311 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.523, allocations: 0 / 0.8311 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0005217/0.5235, allocations: 153.5 kB / 0.8312 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.5235, allocations: 51.41 kB / 0.8313 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.977e-05/0.5236, allocations: 125.8 kB / 0.8314 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.5236, allocations: 29.7 kB / 0.8314 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.5237, allocations: 92.12 kB / 0.8315 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.5237, allocations: 15.75 kB / 0.8315 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.5238, allocations: 17.66 kB / 0.8315 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.5239, allocations: 322.8 kB / 0.8318 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.524, allocations: 35.97 kB / 0.8319 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.5242, allocations: 35.95 kB / 0.8319 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.5244, allocations: 76.78 kB / 0.832 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5244, allocations: 7.938 kB / 0.832 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002978/0.5247, allocations: 109.6 kB / 0.8321 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.5248, allocations: 8 kB / 0.8321 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5248, allocations: 0 / 0.8321 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.5248, allocations: 0 / 0.8321 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.5249, allocations: 15.92 kB / 0.8321 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.5249, allocations: 4 kB / 0.8321 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.061e-05/0.525, allocations: 15.98 kB / 0.8321 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.525, allocations: 0 / 0.8321 GB, free: 14.16 MB / 0.6387 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 7.793e-05/0.5251, allocations: 125.7 kB / 0.8322 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.5251, allocations: 7.906 kB / 0.8323 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003395/0.5255, allocations: 121.5 kB / 0.8324 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.5255, allocations: 0 / 0.8324 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.5255, allocations: 0 / 0.8324 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5255, allocations: 7.938 kB / 0.8324 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.5257, allocations: 177.6 kB / 0.8325 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.5257, allocations: 0 / 0.8325 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.657e-05/0.5258, allocations: 19.97 kB / 0.8326 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5258, allocations: 0 / 0.8326 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.5258, allocations: 3.938 kB / 0.8326 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5258, allocations: 0 / 0.8326 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5258, allocations: 0 / 0.8326 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.5261, allocations: 217.5 kB / 0.8328 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.5262, allocations: 81.02 kB / 0.8329 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.5262, allocations: 0 / 0.8329 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.5263, allocations: 19.98 kB / 0.8329 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.5264, allocations: 7.984 kB / 0.8329 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.5264, allocations: 0 / 0.8329 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.768e-05/0.5264, allocations: 97.89 kB / 0.833 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5264, allocations: 0 / 0.833 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00021/0.5266, allocations: 12 kB / 0.833 GB, free: 13.18 MB / 0.6387 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.0001304/0.5268, allocations: 100.3 kB / 0.8331 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003313/0.5271, allocations: 84.27 kB / 0.8332 GB, free: 13 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5271, allocations: 4 kB / 0.8332 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.5273, allocations: 39.97 kB / 0.8332 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.5275, allocations: 8.109 kB / 0.8332 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.5278, allocations: 149.6 kB / 0.8334 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.5281, allocations: 0.7 MB / 0.834 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.838e-05/0.5281, allocations: 3.859 kB / 0.834 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.5281, allocations: 11.44 kB / 0.8341 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.5281, allocations: 0 / 0.8341 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of Templates: time 0.0027/0.5308, allocations: 0.8027 MB / 0.8348 GB, free: 11.23 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.makefile (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)