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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009596/0.0009598, allocations: 185.1 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.4 MB / 0.5783 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007083/0.0007085, allocations: 92.34 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003455, allocations: 14.31 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2011, allocations: 106.3 MB / 0.9008 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001486/0.2026, allocations: 1.196 MB / 0.902 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00023/0.2029, allocations: 104.6 kB / 0.9021 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.2029, allocations: 4 kB / 0.9021 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.2029, allocations: 7.938 kB / 0.9021 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.829e-05/0.203, allocations: 11.92 kB / 0.9021 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.2032, allocations: 11.98 kB / 0.9021 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.56e-05/0.2033, allocations: 43.84 kB / 0.9022 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.818e-05/0.2034, allocations: 4 kB / 0.9022 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.774e-05/0.2034, allocations: 15.98 kB / 0.9022 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.31e-05/0.2035, allocations: 27.84 kB / 0.9022 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.2035, allocations: 4 kB / 0.9022 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.335e-05/0.2035, allocations: 15.98 kB / 0.9022 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.2036, allocations: 4 kB / 0.9022 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.2036, allocations: 37.64 kB / 0.9023 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.125e-05/0.2037, allocations: 35.92 kB / 0.9023 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2037, allocations: 0 / 0.9023 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2037, allocations: 3.938 kB / 0.9023 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2037, allocations: 0 / 0.9023 GB, free: 62.73 MB / 0.6042 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.0004477/0.2042, allocations: 383.4 kB / 0.9027 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2042, allocations: 15.97 kB / 0.9027 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.2042, allocations: 7.906 kB / 0.9027 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.983e-05/0.2044, allocations: 178.9 kB / 0.9029 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.2044, allocations: 0 / 0.9029 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.2044, allocations: 0 / 0.9029 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.2046, allocations: 85.66 kB / 0.903 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2047, allocations: 0 / 0.903 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.2047, allocations: 0 / 0.903 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2047, allocations: 0 / 0.903 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.205, allocations: 103.9 kB / 0.9031 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.2053, allocations: 288.9 kB / 0.9033 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.2055, allocations: 74.53 kB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.2057, allocations: 56.91 kB / 0.9035 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.2059, allocations: 105.1 kB / 0.9036 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.2059, allocations: 38.5 kB / 0.9036 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.2059, allocations: 4 kB / 0.9036 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005115/0.2064, allocations: 185.5 kB / 0.9038 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.2065, allocations: 55.39 kB / 0.9038 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.994e-05/0.2065, allocations: 125.8 kB / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.2066, allocations: 29.7 kB / 0.904 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.2066, allocations: 96.12 kB / 0.9041 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.2066, allocations: 11.84 kB / 0.9041 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.2066, allocations: 0 / 0.9041 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.829e-05/0.2067, allocations: 318.8 kB / 0.9044 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.2068, allocations: 43.97 kB / 0.9044 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.207, allocations: 51.95 kB / 0.9045 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.2071, allocations: 51.91 kB / 0.9045 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2071, allocations: 0 / 0.9045 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003029/0.2074, allocations: 133.5 kB / 0.9046 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.2075, allocations: 4 kB / 0.9047 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2075, allocations: 0 / 0.9047 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2075, allocations: 0 / 0.9047 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.2076, allocations: 23.92 kB / 0.9047 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.2076, allocations: 4 kB / 0.9047 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.2077, allocations: 23.97 kB / 0.9047 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.2077, allocations: 7.953 kB / 0.9047 GB, free: 60.04 MB / 0.6042 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 5.548e-05/0.2078, allocations: 109.8 kB / 0.9048 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.2078, allocations: 3.906 kB / 0.9048 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.2082, allocations: 149.4 kB / 0.905 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2082, allocations: 0 / 0.905 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2082, allocations: 4 kB / 0.905 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.2082, allocations: 4 kB / 0.905 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.2083, allocations: 181.5 kB / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2083, allocations: 0 / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.306e-05/0.2084, allocations: 19.98 kB / 0.9052 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2084, allocations: 0 / 0.9052 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.2084, allocations: 0 / 0.9052 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2084, allocations: 0 / 0.9052 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2085, allocations: 8 kB / 0.9052 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.2088, allocations: 239.3 kB / 0.9054 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.2088, allocations: 77.11 kB / 0.9055 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.2089, allocations: 0 / 0.9055 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.209, allocations: 19.97 kB / 0.9055 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.209, allocations: 4 kB / 0.9055 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.209, allocations: 4 kB / 0.9055 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.734e-05/0.2091, allocations: 102.3 kB / 0.9056 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2091, allocations: 0 / 0.9056 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002104/0.2093, allocations: 8 kB / 0.9056 GB, free: 59.02 MB / 0.6042 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.0001123/0.2094, allocations: 103.2 kB / 0.9057 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003414/0.2098, allocations: 99.92 kB / 0.9058 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2098, allocations: 0 / 0.9058 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.21, allocations: 60.41 kB / 0.9059 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.2102, allocations: 12.72 kB / 0.9059 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.2105, allocations: 186.3 kB / 0.906 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.2106, allocations: 0.6887 MB / 0.9067 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.2107, allocations: 11.44 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2107, allocations: 0 / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.001981/0.2127, allocations: 0.8772 MB / 0.9076 GB, free: 56.93 MB / 0.6042 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)