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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.0009417/0.0009415, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.000979/0.000979, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9649/0.9649, allocations: 143.3 MB / 434.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004534, allocations: 8 kB / 0.5158 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1865, allocations: 83.43 MB / 0.5973 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.001992/0.1885, allocations: 1.186 MB / 0.5984 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003036/0.1889, allocations: 104.6 kB / 0.5985 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.1889, allocations: 0 / 0.5985 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.944e-05/0.189, allocations: 7.922 kB / 0.5985 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.282e-05/0.1891, allocations: 15.98 kB / 0.5986 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.1892, allocations: 7.984 kB / 0.5986 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.148e-05/0.1893, allocations: 31.95 kB / 0.5986 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.356e-05/0.1894, allocations: 7.984 kB / 0.5986 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.119e-05/0.1895, allocations: 11.94 kB / 0.5986 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.232e-05/0.1895, allocations: 23.91 kB / 0.5986 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1896, allocations: 0 / 0.5986 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.801e-05/0.1896, allocations: 19.98 kB / 0.5987 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.611e-05/0.1897, allocations: 11.92 kB / 0.5987 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.1897, allocations: 33.7 kB / 0.5987 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.1898, allocations: 39.92 kB / 0.5987 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1898, allocations: 0 / 0.5987 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1899, allocations: 0 / 0.5987 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.1899, allocations: 4 kB / 0.5987 GB, free: 6.379 MB / 0.4981 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.0006643/0.1905, allocations: 379.4 kB / 0.5991 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1906, allocations: 8.031 kB / 0.5991 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.1906, allocations: 15.83 kB / 0.5991 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1908, allocations: 171 kB / 0.5993 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1908, allocations: 0 / 0.5993 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.1908, allocations: 8 kB / 0.5993 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.1912, allocations: 89.64 kB / 0.5994 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1912, allocations: 0 / 0.5994 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.1912, allocations: 0 / 0.5994 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1912, allocations: 0 / 0.5994 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.1916, allocations: 95.92 kB / 0.5995 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.1921, allocations: 288.8 kB / 0.5998 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.1924, allocations: 74.55 kB / 0.5998 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.1927, allocations: 113 kB / 0.5999 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.1928, allocations: 38.55 kB / 0.6 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.1928, allocations: 0 / 0.6 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0008267/0.1936, allocations: 181.5 kB / 0.6001 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.1937, allocations: 51.41 kB / 0.6002 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.1938, allocations: 133.4 kB / 0.6003 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1938, allocations: 29.7 kB / 0.6003 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.1939, allocations: 95.98 kB / 0.6004 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.1939, allocations: 11.89 kB / 0.6005 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.1939, allocations: 0 / 0.6005 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.1941, allocations: 318.8 kB / 0.6008 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.1944, allocations: 47.97 kB / 0.6008 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.1946, allocations: 47.95 kB / 0.6008 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.1948, allocations: 47.95 kB / 0.6009 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1949, allocations: 0 / 0.6009 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004863/0.1954, allocations: 133.5 kB / 0.601 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1954, allocations: 8 kB / 0.601 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1954, allocations: 0 / 0.601 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.1954, allocations: 336 / 0.601 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.1956, allocations: 27.91 kB / 0.6011 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1956, allocations: 4 kB / 0.6011 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.1958, allocations: 19.94 kB / 0.6011 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1958, allocations: 0 / 0.6011 GB, free: 3.762 MB / 0.4981 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 0.0001134/0.1959, allocations: 113.8 kB / 0.6012 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.196, allocations: 4 kB / 0.6012 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005474/0.1965, allocations: 153.4 kB / 0.6013 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1965, allocations: 0 / 0.6013 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1965, allocations: 4 kB / 0.6013 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1966, allocations: 0 / 0.6013 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.1968, allocations: 185.5 kB / 0.6015 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1968, allocations: 0 / 0.6015 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.197, allocations: 23.92 kB / 0.6015 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.197, allocations: 4 kB / 0.6015 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.197, allocations: 0 / 0.6015 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.197, allocations: 0 / 0.6015 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.197, allocations: 4 kB / 0.6015 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005323/0.1976, allocations: 231.4 kB / 0.6018 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.1976, allocations: 85.02 kB / 0.6018 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.1977, allocations: 7.984 kB / 0.6019 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.1978, allocations: 15.98 kB / 0.6019 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.1979, allocations: 0 / 0.6019 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.1979, allocations: 8 kB / 0.6019 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.295e-05/0.198, allocations: 111.2 kB / 0.602 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.198, allocations: 0 / 0.602 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003564/0.1984, allocations: 8 kB / 0.602 GB, free: 2.719 MB / 0.4981 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.0001895/0.1986, allocations: 99.25 kB / 0.6021 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.1991, allocations: 99.86 kB / 0.6022 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1991, allocations: 0 / 0.6022 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002289/0.1993, allocations: 59.95 kB / 0.6022 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.1996, allocations: 3.953 kB / 0.6022 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.2, allocations: 164.6 kB / 0.6024 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.2004, allocations: 0.6887 MB / 0.6031 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.208e-05/0.2004, allocations: 3.984 kB / 0.6031 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.2005, allocations: 11.44 kB / 0.6031 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.2005, allocations: 3.938 kB / 0.6031 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of Templates: time 0.003672/0.2042, allocations: 0.6336 MB / 0.6037 GB, free: 0.9062 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: