Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000967/0.0009671, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008748/0.008748, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.449/1.449, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.058/1.058, allocations: 143.4 MB / 434.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0005, allocations: 12 kB / 0.5167 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2185, allocations: 83.4 MB / 0.5981 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007143/0.2193, allocations: 319 kB / 0.5984 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.2206, allocations: 1.096 MB / 0.5995 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.203e-05/0.2206, allocations: 0 / 0.5995 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.2207, allocations: 0 / 0.5995 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.2209, allocations: 27.91 kB / 0.5995 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.936e-06/0.2209, allocations: 0 / 0.5995 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.602e-05/0.2209, allocations: 7.938 kB / 0.5995 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.221, allocations: 0 / 0.5995 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.63e-05/0.221, allocations: 3.938 kB / 0.5995 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.203e-05/0.221, allocations: 0 / 0.5995 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.947e-06/0.2211, allocations: 8 kB / 0.5995 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.2212, allocations: 27.95 kB / 0.5995 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.055e-06/0.2212, allocations: 3.938 kB / 0.5996 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.2212, allocations: 25.7 kB / 0.5996 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.825e-05/0.2213, allocations: 11.92 kB / 0.5996 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2213, allocations: 0 / 0.5996 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2213, allocations: 0 / 0.5996 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.2214, allocations: 0 / 0.5996 GB, free: 5.879 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003033/0.2217, allocations: 315.6 kB / 0.5999 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.2217, allocations: 12.03 kB / 0.5999 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.2217, allocations: 4.938 kB / 0.5999 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.2218, allocations: 164.4 kB / 0.6001 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.2219, allocations: 384 / 0.6001 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.2219, allocations: 384 / 0.6001 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.222, allocations: 38.02 kB / 0.6001 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.222, allocations: 0 / 0.6001 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.222, allocations: 4 kB / 0.6001 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.2221, allocations: 0 / 0.6001 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.13e-05/0.2221, allocations: 15.92 kB / 0.6001 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.2223, allocations: 157.6 kB / 0.6003 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.2225, allocations: 26.58 kB / 0.6003 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.473e-05/0.2225, allocations: 12.95 kB / 0.6003 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.2227, allocations: 89.08 kB / 0.6004 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.2227, allocations: 34.5 kB / 0.6004 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 3.006e-06/0.2227, allocations: 0 / 0.6004 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004372/0.2271, allocations: 0.5722 MB / 0.601 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.2271, allocations: 59.34 kB / 0.601 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.95e-05/0.2272, allocations: 89.86 kB / 0.6011 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.2272, allocations: 25.7 kB / 0.6011 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.2273, allocations: 84.08 kB / 0.6012 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.2273, allocations: 15.8 kB / 0.6012 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.2274, allocations: 13.72 kB / 0.6013 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2275, allocations: 314.8 kB / 0.6016 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006184/0.2281, allocations: 83.95 kB / 0.6016 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/0.2287, allocations: 102.5 kB / 0.6017 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.23, allocations: 186.4 kB / 0.6019 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.23, allocations: 7.938 kB / 0.6019 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001313/0.2313, allocations: 217.5 kB / 0.6021 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.2314, allocations: 8 kB / 0.6021 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-06/0.2314, allocations: 0 / 0.6021 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2314, allocations: 0 / 0.6021 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.2318, allocations: 52 kB / 0.6022 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2318, allocations: 0 / 0.6022 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.2322, allocations: 43.97 kB / 0.6022 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.2322, allocations: 0 / 0.6022 GB, free: 2.918 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 (5): * Single equations (assignments): 5 * 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.0001111/0.2323, allocations: 113.8 kB / 0.6023 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.2324, allocations: 11.83 kB / 0.6023 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.2338, allocations: 237 kB / 0.6026 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.2338, allocations: 4 kB / 0.6026 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.2338, allocations: 0 / 0.6026 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2339, allocations: 0 / 0.6026 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.2354, allocations: 462.4 kB / 0.603 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2354, allocations: 0 / 0.603 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.2358, allocations: 43.97 kB / 0.6031 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2358, allocations: 4 kB / 0.6031 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.2359, allocations: 4 kB / 0.6031 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2359, allocations: 320 / 0.6031 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2359, allocations: 0 / 0.6031 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.2372, allocations: 307.4 kB / 0.6034 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/0.2373, allocations: 81.11 kB / 0.6034 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.2373, allocations: 0 / 0.6034 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.2377, allocations: 35.98 kB / 0.6035 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.2377, allocations: 11.92 kB / 0.6035 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.2377, allocations: 4 kB / 0.6035 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.149e-05/0.2378, allocations: 75.28 kB / 0.6036 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2378, allocations: 3.938 kB / 0.6036 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002639/0.238, allocations: 16 kB / 0.6036 GB, free: 1.43 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 (5): * Single equations (assignments): 5 * 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.000209/0.2383, allocations: 99.25 kB / 0.6037 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.2396, allocations: 184 kB / 0.6038 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2396, allocations: 4.062 kB / 0.6039 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006138/0.2402, allocations: 87.89 kB / 0.6039 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.2404, allocations: 4 kB / 0.6039 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.2416, allocations: 222.6 kB / 0.6042 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.2419, allocations: 0.677 MB / 0.6048 GB, free: 104 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002279/0.2421, allocations: 28 kB / 0.6048 GB, free: 76 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.268e-05/0.2422, allocations: 15.42 kB / 0.6049 GB, free: 60 kB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.2422, allocations: 0 / 0.6049 GB, free: 60 kB / 0.4981 GB Notification: Performance of Templates: time 0.3082/0.5505, allocations: 0.7966 MB / 0.6056 GB, free: 40.68 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)