Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004608/0.004608, allocations: 100.5 kB / 15.73 MB, free: 6.008 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.001071/0.001071, allocations: 195.4 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.863/0.863, allocations: 143 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 68.19 kB / 0.5955 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1889, allocations: 82.03 MB / 0.6756 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.00264/0.1916, allocations: 1.483 MB / 0.6771 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003361/0.1919, allocations: 112.5 kB / 0.6772 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.192, allocations: 0 / 0.6772 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.704e-05/0.192, allocations: 3.938 kB / 0.6772 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.094e-05/0.1921, allocations: 7.938 kB / 0.6772 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.1924, allocations: 19.97 kB / 0.6772 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.344e-05/0.1925, allocations: 47.78 kB / 0.6773 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1926, allocations: 19.98 kB / 0.6773 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.363e-05/0.1926, allocations: 19.91 kB / 0.6773 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.611e-05/0.1927, allocations: 19.92 kB / 0.6773 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.1927, allocations: 4 kB / 0.6773 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.912e-05/0.1928, allocations: 23.98 kB / 0.6774 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.1929, allocations: 15.92 kB / 0.6774 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.1929, allocations: 23.86 kB / 0.6774 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.193, allocations: 51.86 kB / 0.6774 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.1931, allocations: 0 / 0.6774 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.838e-06/0.1931, allocations: 0 / 0.6774 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.1931, allocations: 3.938 kB / 0.6774 GB, free: 8.469 MB / 0.5137 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.0005922/0.1937, allocations: 388.9 kB / 0.6778 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1937, allocations: 8.031 kB / 0.6778 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.1938, allocations: 8.844 kB / 0.6778 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.1939, allocations: 176.2 kB / 0.678 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1939, allocations: 384 / 0.678 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.1939, allocations: 4.375 kB / 0.678 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.1942, allocations: 82.16 kB / 0.6781 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1942, allocations: 192 / 0.6781 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1942, allocations: 7.938 kB / 0.6781 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1943, allocations: 0 / 0.6781 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.1946, allocations: 71.92 kB / 0.6782 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.1949, allocations: 292.8 kB / 0.6784 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.1952, allocations: 70.47 kB / 0.6785 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.1953, allocations: 40.91 kB / 0.6785 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/0.1956, allocations: 113.1 kB / 0.6786 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.1956, allocations: 34.56 kB / 0.6787 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1956, allocations: 0 / 0.6787 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.000569/0.1962, allocations: 145.4 kB / 0.6788 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.1962, allocations: 55.41 kB / 0.6789 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.1963, allocations: 125.8 kB / 0.679 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1964, allocations: 25.7 kB / 0.679 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.1964, allocations: 92.14 kB / 0.6791 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.1964, allocations: 7.812 kB / 0.6791 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.1965, allocations: 21.7 kB / 0.6791 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.1966, allocations: 318.8 kB / 0.6794 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.1968, allocations: 39.95 kB / 0.6795 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.1969, allocations: 31.97 kB / 0.6795 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.1972, allocations: 76.78 kB / 0.6796 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.1972, allocations: 7.922 kB / 0.6796 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000317/0.1975, allocations: 113.6 kB / 0.6797 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1976, allocations: 4 kB / 0.6797 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1976, allocations: 4 kB / 0.6797 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1976, allocations: 336 / 0.6797 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1977, allocations: 15.97 kB / 0.6797 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1977, allocations: 3.938 kB / 0.6797 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.826e-05/0.1978, allocations: 15.98 kB / 0.6797 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1978, allocations: 0 / 0.6797 GB, free: 5.871 MB / 0.5137 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 9.006e-05/0.1979, allocations: 118.4 kB / 0.6799 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.1979, allocations: 7.906 kB / 0.6799 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.1983, allocations: 125.4 kB / 0.68 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1983, allocations: 4 kB / 0.68 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1983, allocations: 0 / 0.68 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1983, allocations: 0 / 0.68 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.1985, allocations: 181.6 kB / 0.6802 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1985, allocations: 0 / 0.6802 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.516e-05/0.1986, allocations: 15.98 kB / 0.6802 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1986, allocations: 0 / 0.6802 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.1987, allocations: 0 / 0.6802 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1987, allocations: 3.938 kB / 0.6802 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1987, allocations: 0 / 0.6802 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.199, allocations: 215.3 kB / 0.6804 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.1991, allocations: 88.95 kB / 0.6805 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.1991, allocations: 0 / 0.6805 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1992, allocations: 19.97 kB / 0.6805 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.1993, allocations: 4 kB / 0.6805 GB, free: 5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.1993, allocations: 4 kB / 0.6805 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.933e-05/0.1993, allocations: 102.3 kB / 0.6806 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1994, allocations: 0 / 0.6806 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002248/0.1996, allocations: 15.92 kB / 0.6806 GB, free: 4.883 MB / 0.5137 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.00017/0.1998, allocations: 103.2 kB / 0.6807 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003564/0.2001, allocations: 79.92 kB / 0.6808 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2001, allocations: 0 / 0.6808 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.2003, allocations: 47.89 kB / 0.6808 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.2006, allocations: 7.938 kB / 0.6808 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.2009, allocations: 149.5 kB / 0.681 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.2012, allocations: 0.6924 MB / 0.6817 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.2012, allocations: 3.984 kB / 0.6817 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.2013, allocations: 11.44 kB / 0.6817 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of SimCode: time 1.974e-06/0.2013, allocations: 0 / 0.6817 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of Templates: time 0.003196/0.2045, allocations: 0.8042 MB / 0.6825 GB, free: 2.934 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)