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.001135/0.001135, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 197.8 kB / 16.79 MB, free: 6.809 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.311/1.311, allocations: 222.9 MB / 240.5 MB, free: 4.59 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 0.9633/0.9633, allocations: 143 MB / 433.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 59.91 kB / 0.5141 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2131, allocations: 82.04 MB / 0.5943 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.004411/0.2176, allocations: 1.826 MB / 0.5961 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.2193, allocations: 0.6593 MB / 0.5967 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.713e-05/0.2194, allocations: 4 kB / 0.5967 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.056e-05/0.2195, allocations: 3.938 kB / 0.5967 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.2196, allocations: 7.875 kB / 0.5967 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007256/0.2203, allocations: 155.9 kB / 0.5969 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.2206, allocations: 119.6 kB / 0.597 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.2208, allocations: 45.11 kB / 0.597 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.221, allocations: 59.77 kB / 0.5971 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.2211, allocations: 47.77 kB / 0.5971 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.2212, allocations: 8 kB / 0.5971 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.2214, allocations: 43.95 kB / 0.5972 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.2214, allocations: 23.91 kB / 0.5972 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.611e-05/0.2215, allocations: 59.72 kB / 0.5972 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.2218, allocations: 96.05 kB / 0.5973 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2218, allocations: 0 / 0.5973 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2218, allocations: 0 / 0.5973 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.2218, allocations: 0 / 0.5973 GB, free: 6.891 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.0008331/0.2226, allocations: 435 kB / 0.5978 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.2227, allocations: 15.97 kB / 0.5978 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.2239, allocations: 112.7 kB / 0.5979 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.2241, allocations: 191.9 kB / 0.5981 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.2242, allocations: 71.94 kB / 0.5981 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.2243, allocations: 4.375 kB / 0.5981 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007634/0.2251, allocations: 177.7 kB / 0.5983 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.2251, allocations: 0 / 0.5983 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.2251, allocations: 0 / 0.5983 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2251, allocations: 0 / 0.5983 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000863/0.226, allocations: 163.8 kB / 0.5985 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.2275, allocations: 485.7 kB / 0.5989 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.2289, allocations: 214.3 kB / 0.5991 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004219/0.2293, allocations: 80.91 kB / 0.5992 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.2294, allocations: 7.984 kB / 0.5992 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.2294, allocations: 34.55 kB / 0.5992 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.2294, allocations: 4 kB / 0.5992 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001408/0.2308, allocations: 261.4 kB / 0.5995 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.2309, allocations: 55.41 kB / 0.5995 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.2311, allocations: 141.8 kB / 0.5997 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.2311, allocations: 25.7 kB / 0.5997 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.781e-05/0.2312, allocations: 116.1 kB / 0.5998 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.2313, allocations: 19.66 kB / 0.5998 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.445e-05/0.2313, allocations: 25.7 kB / 0.5999 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2315, allocations: 322.8 kB / 0.6002 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.2319, allocations: 75.92 kB / 0.6002 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.2324, allocations: 94.48 kB / 0.6003 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008015/0.2332, allocations: 158.4 kB / 0.6005 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.2332, allocations: 256 / 0.6005 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000924/0.2341, allocations: 213.4 kB / 0.6007 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.2342, allocations: 4 kB / 0.6007 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2342, allocations: 0 / 0.6007 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.354e-05/0.2342, allocations: 3.938 kB / 0.6007 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.2346, allocations: 39.89 kB / 0.6007 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.2346, allocations: 0 / 0.6007 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.2348, allocations: 24.03 kB / 0.6008 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.2349, allocations: 11.98 kB / 0.6008 GB, free: 3.121 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.0001391/0.235, allocations: 121.8 kB / 0.6009 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.2351, allocations: 7.906 kB / 0.6009 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009522/0.2361, allocations: 210.2 kB / 0.6011 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2361, allocations: 0 / 0.6011 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.2361, allocations: 0 / 0.6011 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2361, allocations: 0 / 0.6011 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.2365, allocations: 238.2 kB / 0.6013 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2365, allocations: 0 / 0.6013 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.2368, allocations: 39.95 kB / 0.6014 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2368, allocations: 0 / 0.6014 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.2368, allocations: 7.938 kB / 0.6014 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.2369, allocations: 7.922 kB / 0.6014 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2369, allocations: 0 / 0.6014 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000987/0.2379, allocations: 279.3 kB / 0.6016 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.2379, allocations: 85 kB / 0.6017 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.238, allocations: 3.938 kB / 0.6017 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/0.2384, allocations: 36.14 kB / 0.6018 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.2384, allocations: 0 / 0.6018 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.2385, allocations: 11.98 kB / 0.6018 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.338e-05/0.2386, allocations: 113.7 kB / 0.6019 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2386, allocations: 0 / 0.6019 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004245/0.239, allocations: 20 kB / 0.6019 GB, free: 1.863 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.0001663/0.2392, allocations: 99.25 kB / 0.602 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008555/0.2401, allocations: 167.8 kB / 0.6022 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2401, allocations: 0 / 0.6022 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.2405, allocations: 79.86 kB / 0.6022 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.241, allocations: 15.97 kB / 0.6022 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008596/0.2419, allocations: 322.9 kB / 0.6026 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.2422, allocations: 0.7043 MB / 0.6032 GB, free: 436 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.2423, allocations: 15.42 kB / 0.6033 GB, free: 420 kB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.2423, allocations: 0 / 0.6033 GB, free: 420 kB / 0.4981 GB Notification: Performance of Templates: time 0.2337/0.476, allocations: 1.581 MB / 0.6048 GB, free: 43.75 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)