Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001291/0.001291, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001151/0.001151, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.437/1.437, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.863/1.863, allocations: 292.3 MB / 0.5495 GB, free: 17.57 MB / 462.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.001516/0.001516, allocations: 71.03 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2183, allocations: 114.6 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002721/0.2211, allocations: 1.485 MB / 0.7855 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002882/0.2214, allocations: 108.5 kB / 0.7856 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.2214, allocations: 0 / 0.7856 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.276e-05/0.2215, allocations: 3.938 kB / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.772e-05/0.2216, allocations: 11.92 kB / 0.7856 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.2218, allocations: 19.97 kB / 0.7856 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.212e-05/0.2219, allocations: 43.84 kB / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.936e-05/0.222, allocations: 16 kB / 0.7857 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.222, allocations: 15.92 kB / 0.7857 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.2221, allocations: 15.92 kB / 0.7857 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.2221, allocations: 4 kB / 0.7857 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.254e-05/0.2222, allocations: 23.98 kB / 0.7857 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.913e-05/0.2222, allocations: 19.91 kB / 0.7857 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.2223, allocations: 23.86 kB / 0.7858 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.2224, allocations: 51.81 kB / 0.7858 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2224, allocations: 0 / 0.7858 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2224, allocations: 0 / 0.7858 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2224, allocations: 0 / 0.7858 GB, free: 2.008 MB / 0.6544 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.0005362/0.223, allocations: 383.5 kB / 0.7862 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.223, allocations: 8.031 kB / 0.7862 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.223, allocations: 8.844 kB / 0.7862 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.2232, allocations: 176.3 kB / 0.7864 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.2232, allocations: 384 / 0.7864 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.2232, allocations: 8.312 kB / 0.7864 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.2235, allocations: 78.2 kB / 0.7864 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2235, allocations: 192 / 0.7864 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.2235, allocations: 3.938 kB / 0.7865 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.2235, allocations: 4 kB / 0.7865 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.2238, allocations: 71.92 kB / 0.7865 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.2242, allocations: 292.8 kB / 0.7868 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.2244, allocations: 70.41 kB / 0.7869 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.2246, allocations: 44.92 kB / 0.7869 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002619/0.2248, allocations: 109.1 kB / 0.787 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.2249, allocations: 30.56 kB / 0.787 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2249, allocations: 0 / 0.787 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005468/0.2254, allocations: 153.5 kB / 0.7872 GB, free: 416 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.2255, allocations: 55.34 kB / 0.7872 GB, free: 348 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.586e-05/0.2256, allocations: 125.8 kB / 0.7874 GB, free: 212 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.2256, allocations: 25.7 kB / 0.7874 GB, free: 180 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.2257, allocations: 100 kB / 0.7875 GB, free: 76 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.2257, allocations: 3.906 kB / 0.7875 GB, free: 72 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.2257, allocations: 17.72 kB / 0.7875 GB, free: 48 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3827/0.6085, allocations: 312.4 kB / 0.7878 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.6088, allocations: 38.03 kB / 0.7878 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.6089, allocations: 40.56 kB / 0.7879 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.6092, allocations: 81.56 kB / 0.788 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.6092, allocations: 4.781 kB / 0.788 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003582/0.6096, allocations: 108.3 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.6096, allocations: 9.812 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.6097, allocations: 2.688 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.6097, allocations: 2.125 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.6098, allocations: 20.92 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.6098, allocations: 0 / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.602e-05/0.6099, allocations: 10.83 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.6099, allocations: 2.391 kB / 0.7881 GB, free: 48.48 MB / 0.6544 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 6.983e-05/0.61, allocations: 120.1 kB / 0.7882 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.61, allocations: 9.625 kB / 0.7882 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000352/0.6104, allocations: 120.5 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.6104, allocations: 0 / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6104, allocations: 3.938 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.6104, allocations: 0 / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.6106, allocations: 181.5 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6106, allocations: 0 / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.9e-05/0.6107, allocations: 19.27 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6107, allocations: 0 / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.6107, allocations: 2.906 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6107, allocations: 0 / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.6107, allocations: 3.938 kB / 0.7886 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.6111, allocations: 208.4 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.6111, allocations: 83.61 kB / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.6111, allocations: 0 / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.6112, allocations: 18.88 kB / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.6113, allocations: 8.25 kB / 0.7889 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.6113, allocations: 2.594 kB / 0.7889 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.382e-05/0.6113, allocations: 97.62 kB / 0.789 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6113, allocations: 0 / 0.789 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002345/0.6116, allocations: 12.94 kB / 0.789 GB, free: 47.84 MB / 0.6544 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.0001339/0.6117, allocations: 106.3 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003325/0.6121, allocations: 78.81 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6121, allocations: 0 / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.6122, allocations: 44 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.6125, allocations: 9.688 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.6128, allocations: 170.2 kB / 0.7894 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.6129, allocations: 0.6875 MB / 0.79 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.613, allocations: 13.53 kB / 0.79 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.613, allocations: 0 / 0.79 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.002341/0.6153, allocations: 0.8915 MB / 0.7909 GB, free: 46.9 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)