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.001064/0.001064, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001158/0.001158, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.407/1.407, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.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.618/1.618, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.001556/0.001556, allocations: 70.59 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2098, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002828/0.2127, allocations: 1.538 MB / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003401/0.213, allocations: 120.5 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.2131, allocations: 0 / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.061e-05/0.2132, allocations: 4 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.849e-05/0.2132, allocations: 3.938 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.2135, allocations: 23.95 kB / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.937e-05/0.2136, allocations: 43.86 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.909e-05/0.2137, allocations: 4 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.019e-05/0.2137, allocations: 15.92 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.773e-05/0.2138, allocations: 27.91 kB / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.2138, allocations: 8 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.233e-05/0.2139, allocations: 19.92 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.214, allocations: 15.92 kB / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.214, allocations: 19.88 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.2141, allocations: 51.8 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2142, allocations: 0 / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2142, allocations: 0 / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.2142, allocations: 0 / 0.7845 GB, free: 12.11 MB / 0.6075 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.0005589/0.2147, allocations: 383.5 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2148, allocations: 12.03 kB / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.2148, allocations: 8.844 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.215, allocations: 172.3 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.215, allocations: 4.312 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-06/0.215, allocations: 384 / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.2152, allocations: 74.22 kB / 0.7851 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.2153, allocations: 192 / 0.7851 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2153, allocations: 3.938 kB / 0.7851 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.2153, allocations: 4 kB / 0.7851 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.2156, allocations: 75.92 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.2159, allocations: 284.8 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.2161, allocations: 82.41 kB / 0.7856 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.2163, allocations: 40.91 kB / 0.7856 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002405/0.2166, allocations: 109.1 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.2166, allocations: 34.56 kB / 0.7857 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2166, allocations: 0 / 0.7857 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005312/0.2171, allocations: 145.6 kB / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.2172, allocations: 59.34 kB / 0.7859 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2173, allocations: 124.2 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.2173, allocations: 29.69 kB / 0.7861 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.2173, allocations: 96.05 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.2174, allocations: 7.906 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.2174, allocations: 13.72 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.2175, allocations: 322.8 kB / 0.7865 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.2177, allocations: 35.95 kB / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.2178, allocations: 35.97 kB / 0.7866 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.2181, allocations: 80.72 kB / 0.7867 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2181, allocations: 3.938 kB / 0.7867 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003192/0.2185, allocations: 121.5 kB / 0.7868 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2185, allocations: 8 kB / 0.7868 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2185, allocations: 0 / 0.7868 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.2185, allocations: 0 / 0.7868 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.2186, allocations: 11.98 kB / 0.7868 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.2186, allocations: 8 kB / 0.7868 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.556e-05/0.2187, allocations: 15.91 kB / 0.7868 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.2187, allocations: 8 kB / 0.7868 GB, free: 9.5 MB / 0.6075 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 8.289e-05/0.2188, allocations: 113.8 kB / 0.7869 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.2189, allocations: 7.906 kB / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003631/0.2192, allocations: 121.8 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.2192, allocations: 0 / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.2193, allocations: 0 / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2193, allocations: 11.94 kB / 0.7871 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.2194, allocations: 181.6 kB / 0.7872 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2194, allocations: 0 / 0.7872 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.122e-05/0.2195, allocations: 15.98 kB / 0.7873 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2195, allocations: 0 / 0.7873 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.2196, allocations: 0 / 0.7873 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2196, allocations: 0 / 0.7873 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2196, allocations: 0 / 0.7873 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.2199, allocations: 211.4 kB / 0.7875 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.22, allocations: 81.02 kB / 0.7875 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.22, allocations: 0 / 0.7875 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.2201, allocations: 11.98 kB / 0.7875 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.2201, allocations: 11.98 kB / 0.7876 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.2202, allocations: 0 / 0.7876 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.035e-05/0.2202, allocations: 99.27 kB / 0.7876 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.442e-06/0.2202, allocations: 0 / 0.7876 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002224/0.2204, allocations: 11.94 kB / 0.7877 GB, free: 8.531 MB / 0.6075 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.0001359/0.2206, allocations: 111.2 kB / 0.7878 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000312/0.2209, allocations: 75.92 kB / 0.7878 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2209, allocations: 4 kB / 0.7878 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.2211, allocations: 47.89 kB / 0.7879 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.2213, allocations: 3.938 kB / 0.7879 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.2216, allocations: 168.2 kB / 0.7881 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.2219, allocations: 0.6887 MB / 0.7887 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.967e-05/0.2219, allocations: 0 / 0.7887 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.2219, allocations: 11.44 kB / 0.7887 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2219, allocations: 0 / 0.7887 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of Templates: time 0.002549/0.2245, allocations: 0.6628 MB / 0.7894 GB, free: 6.719 MB / 0.6075 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)