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.004596/0.004596, allocations: 102.6 kB / 15.73 MB, free: 6.039 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.0009751/0.0009752, allocations: 190.7 kB / 16.67 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.234/1.234, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.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.382/1.382, allocations: 251.7 MB / 0.5094 GB, free: 3.023 MB / 414.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.00134/0.00134, allocations: 67.91 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1885, allocations: 104.7 MB / 0.828 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002384/0.191, allocations: 1.47 MB / 0.8295 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002741/0.1913, allocations: 116.5 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.1913, allocations: 0 / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.948e-05/0.1913, allocations: 3.938 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.477e-05/0.1914, allocations: 7.938 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.1916, allocations: 19.97 kB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.091e-05/0.1917, allocations: 51.77 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.006e-05/0.1918, allocations: 8 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.947e-05/0.1919, allocations: 19.98 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.1919, allocations: 23.84 kB / 0.8297 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.1919, allocations: 4 kB / 0.8297 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.761e-05/0.192, allocations: 23.98 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.192, allocations: 8 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.1921, allocations: 23.86 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.1922, allocations: 59.73 kB / 0.8298 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1922, allocations: 0 / 0.8298 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1922, allocations: 0 / 0.8298 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.1922, allocations: 0 / 0.8298 GB, free: 14.32 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.0005503/0.1928, allocations: 381.6 kB / 0.8302 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1928, allocations: 8.031 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.1929, allocations: 8.844 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.193, allocations: 184.2 kB / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-06/0.193, allocations: 4.312 kB / 0.8304 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.193, allocations: 4.375 kB / 0.8304 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.1933, allocations: 74.2 kB / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.1933, allocations: 4.188 kB / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1933, allocations: 3.938 kB / 0.8305 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1933, allocations: 7.938 kB / 0.8305 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/0.1936, allocations: 67.92 kB / 0.8306 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.1939, allocations: 284.9 kB / 0.8308 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.1941, allocations: 74.47 kB / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.1943, allocations: 48.91 kB / 0.8309 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.1945, allocations: 105.1 kB / 0.831 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.1945, allocations: 30.56 kB / 0.8311 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1945, allocations: 0 / 0.8311 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005453/0.1951, allocations: 153.4 kB / 0.8312 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.1951, allocations: 59.39 kB / 0.8313 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.33e-05/0.1952, allocations: 125.8 kB / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.1953, allocations: 25.7 kB / 0.8314 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.1953, allocations: 100.1 kB / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.1953, allocations: 3.906 kB / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.1954, allocations: 17.72 kB / 0.8315 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1955, allocations: 314.8 kB / 0.8318 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.1957, allocations: 35.97 kB / 0.8319 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.1958, allocations: 43.95 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.1961, allocations: 72.78 kB / 0.832 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.1961, allocations: 3.938 kB / 0.832 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003117/0.1964, allocations: 125.5 kB / 0.8321 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.1964, allocations: 4 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1964, allocations: 0 / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1964, allocations: 4.328 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1966, allocations: 15.98 kB / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.1966, allocations: 0 / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.35e-05/0.1966, allocations: 15.98 kB / 0.8321 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1967, allocations: 0 / 0.8321 GB, free: 11.72 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 7.157e-05/0.1967, allocations: 121.8 kB / 0.8323 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.1968, allocations: 11.89 kB / 0.8323 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.1971, allocations: 117.5 kB / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1971, allocations: 4 kB / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.1971, allocations: 3.984 kB / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1971, allocations: 0 / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.1973, allocations: 185.5 kB / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1973, allocations: 3.984 kB / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.8e-05/0.1974, allocations: 15.92 kB / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1974, allocations: 3.938 kB / 0.8326 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.1974, allocations: 4 kB / 0.8326 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1974, allocations: 0 / 0.8326 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1974, allocations: 0 / 0.8326 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.1978, allocations: 211.3 kB / 0.8328 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.1978, allocations: 81.11 kB / 0.8329 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.1979, allocations: 0 / 0.8329 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.198, allocations: 11.98 kB / 0.8329 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.198, allocations: 15.92 kB / 0.8329 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.198, allocations: 0 / 0.8329 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.273e-05/0.1981, allocations: 97.89 kB / 0.833 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1981, allocations: 4 kB / 0.833 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002121/0.1983, allocations: 11.91 kB / 0.833 GB, free: 10.73 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.0001479/0.1985, allocations: 95.25 kB / 0.8331 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003552/0.1988, allocations: 87.91 kB / 0.8332 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1988, allocations: 0 / 0.8332 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.199, allocations: 39.95 kB / 0.8332 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.1992, allocations: 15.88 kB / 0.8332 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.1996, allocations: 141.6 kB / 0.8334 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.1998, allocations: 0.6961 MB / 0.8341 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.802e-05/0.1999, allocations: 3.859 kB / 0.8341 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.1999, allocations: 15.44 kB / 0.8341 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.1999, allocations: 0 / 0.8341 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of Templates: time 0.002997/0.2029, allocations: 0.7961 MB / 0.8348 GB, free: 8.789 MB / 0.6544 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)