Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, 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.001847/0.001847, allocations: 194.3 kB / 16.14 MB, free: 6.688 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.467/1.467, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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 1.055/1.055, allocations: 143 MB / 433 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 63.91 kB / 0.5135 GB, free: 12.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1939, allocations: 82.04 MB / 0.5936 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003454/0.1975, allocations: 1.825 MB / 0.5954 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1988, allocations: 0.6593 MB / 0.596 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.1989, allocations: 0 / 0.596 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.274e-05/0.1989, allocations: 7.875 kB / 0.596 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.874e-05/0.199, allocations: 19.86 kB / 0.5961 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006092/0.1996, allocations: 148.3 kB / 0.5962 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.1998, allocations: 127.5 kB / 0.5963 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.2, allocations: 37.11 kB / 0.5964 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.2001, allocations: 55.83 kB / 0.5964 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.187e-05/0.2002, allocations: 55.75 kB / 0.5965 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.2003, allocations: 8 kB / 0.5965 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.2004, allocations: 39.97 kB / 0.5965 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.234e-05/0.2004, allocations: 27.91 kB / 0.5965 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.383e-05/0.2005, allocations: 55.7 kB / 0.5966 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.2007, allocations: 143.8 kB / 0.5967 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2007, allocations: 0 / 0.5967 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2008, allocations: 0 / 0.5967 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2008, allocations: 0 / 0.5967 GB, free: 6.848 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.00068/0.2014, allocations: 439 kB / 0.5971 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.2015, allocations: 8.031 kB / 0.5971 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008818/0.2024, allocations: 108.7 kB / 0.5973 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.2026, allocations: 196 kB / 0.5974 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.2027, allocations: 67.97 kB / 0.5975 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.2027, allocations: 8.375 kB / 0.5975 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.2032, allocations: 165.7 kB / 0.5977 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2032, allocations: 0 / 0.5977 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.2033, allocations: 8 kB / 0.5977 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2033, allocations: 0 / 0.5977 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006119/0.2039, allocations: 163.8 kB / 0.5978 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.2051, allocations: 481.7 kB / 0.5983 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.2062, allocations: 218.3 kB / 0.5985 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.2065, allocations: 84.89 kB / 0.5986 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.2065, allocations: 4 kB / 0.5986 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.2065, allocations: 30.56 kB / 0.5986 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.2065, allocations: 0 / 0.5986 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0009971/0.2075, allocations: 269.4 kB / 0.5989 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.2076, allocations: 59.34 kB / 0.5989 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.2077, allocations: 139.8 kB / 0.5991 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.2077, allocations: 25.7 kB / 0.5991 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.615e-05/0.2078, allocations: 112.1 kB / 0.5992 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.2079, allocations: 23.64 kB / 0.5992 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/0.2079, allocations: 29.7 kB / 0.5992 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2081, allocations: 318.8 kB / 0.5995 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.2084, allocations: 75.92 kB / 0.5996 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.2087, allocations: 98.48 kB / 0.5997 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006075/0.2093, allocations: 162.3 kB / 0.5999 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2093, allocations: 4 kB / 0.5999 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006404/0.2099, allocations: 197.4 kB / 0.6001 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.21, allocations: 8 kB / 0.6001 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.21, allocations: 0 / 0.6001 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.21, allocations: 8 kB / 0.6001 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.2103, allocations: 35.95 kB / 0.6001 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2103, allocations: 0 / 0.6001 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.2105, allocations: 28.27 kB / 0.6001 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.2105, allocations: 4 kB / 0.6001 GB, free: 3.09 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.0001399/0.2107, allocations: 117.8 kB / 0.6003 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.2107, allocations: 7.906 kB / 0.6003 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007255/0.2114, allocations: 210.2 kB / 0.6005 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2115, allocations: 4 kB / 0.6005 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2115, allocations: 7.984 kB / 0.6005 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2115, allocations: 3.984 kB / 0.6005 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.2118, allocations: 238.3 kB / 0.6007 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2118, allocations: 0 / 0.6007 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.212, allocations: 31.95 kB / 0.6007 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.212, allocations: 0 / 0.6007 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.212, allocations: 11.86 kB / 0.6007 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.212, allocations: 0 / 0.6007 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.212, allocations: 4 kB / 0.6008 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006802/0.2127, allocations: 283.3 kB / 0.601 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.102e-05/0.2128, allocations: 85.02 kB / 0.6011 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.2128, allocations: 7.875 kB / 0.6011 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.2131, allocations: 31.95 kB / 0.6011 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.2132, allocations: 7.984 kB / 0.6011 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.2132, allocations: 11.98 kB / 0.6012 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.664e-05/0.2133, allocations: 99.27 kB / 0.6013 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2133, allocations: 0 / 0.6013 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002684/0.2136, allocations: 24 kB / 0.6013 GB, free: 1.824 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 (6): * Single equations (assignments): 6 * 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.0002082/0.2138, allocations: 95.25 kB / 0.6014 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007072/0.2145, allocations: 167.8 kB / 0.6015 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2145, allocations: 0 / 0.6015 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003097/0.2149, allocations: 91.97 kB / 0.6016 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.2152, allocations: 10.75 kB / 0.6016 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007431/0.216, allocations: 293.2 kB / 0.6019 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.2163, allocations: 0.6926 MB / 0.6026 GB, free: 444 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001/0.2164, allocations: 23.92 kB / 0.6026 GB, free: 420 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/0.2165, allocations: 11.44 kB / 0.6026 GB, free: 408 kB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.2165, allocations: 0 / 0.6026 GB, free: 408 kB / 0.4981 GB Notification: Performance of Templates: time 0.3134/0.5299, allocations: 1.36 MB / 0.6039 GB, free: 43.71 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)