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/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.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.0009309/0.000931, allocations: 97.95 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.00698/0.00698, allocations: 171.5 kB / 16.27 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.44/1.44, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.062/1.062, allocations: 143.2 MB / 434.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005444/0.0005443, allocations: 12 kB / 0.5164 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2273, allocations: 83.41 MB / 0.5979 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0008614/0.2282, allocations: 323 kB / 0.5982 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002132/0.2304, allocations: 1.093 MB / 0.5992 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.336e-05/0.2304, allocations: 0 / 0.5992 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.898e-06/0.2305, allocations: 0 / 0.5992 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.2307, allocations: 19.98 kB / 0.5993 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.596e-06/0.2307, allocations: 0 / 0.5993 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.168e-05/0.2308, allocations: 11.92 kB / 0.5993 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.2308, allocations: 4 kB / 0.5993 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.947e-05/0.2309, allocations: 3.938 kB / 0.5993 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.211e-05/0.2309, allocations: 0 / 0.5993 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.2309, allocations: 0 / 0.5993 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.2311, allocations: 15.98 kB / 0.5993 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.703e-06/0.2311, allocations: 0 / 0.5993 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.2311, allocations: 37.62 kB / 0.5993 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.407e-05/0.2312, allocations: 15.92 kB / 0.5993 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2313, allocations: 0 / 0.5993 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2313, allocations: 0 / 0.5993 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2313, allocations: 4 kB / 0.5993 GB, free: 6.195 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.0003175/0.2316, allocations: 315.6 kB / 0.5996 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2317, allocations: 8.031 kB / 0.5997 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.2317, allocations: 0.9375 kB / 0.5997 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.2319, allocations: 164.4 kB / 0.5998 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2319, allocations: 4.375 kB / 0.5998 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.2319, allocations: 384 / 0.5998 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.2321, allocations: 38 kB / 0.5999 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.2321, allocations: 0 / 0.5999 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.2321, allocations: 4 kB / 0.5999 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2321, allocations: 0 / 0.5999 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.026e-05/0.2322, allocations: 15.92 kB / 0.5999 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.2324, allocations: 149.6 kB / 0.6 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.2326, allocations: 34.61 kB / 0.6 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.2327, allocations: 12.86 kB / 0.6001 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/0.2329, allocations: 85.19 kB / 0.6001 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.233, allocations: 38.5 kB / 0.6002 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.924e-06/0.233, allocations: 0 / 0.6002 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.007321/0.2403, allocations: 0.5679 MB / 0.6007 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.2404, allocations: 59.28 kB / 0.6008 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.165e-05/0.2405, allocations: 89.86 kB / 0.6009 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.2405, allocations: 25.7 kB / 0.6009 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.475e-05/0.2406, allocations: 84.14 kB / 0.601 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.804e-05/0.2407, allocations: 15.75 kB / 0.601 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.2408, allocations: 17.7 kB / 0.601 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.241, allocations: 314.8 kB / 0.6013 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009698/0.2419, allocations: 79.95 kB / 0.6014 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.243, allocations: 102.6 kB / 0.6015 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/0.2451, allocations: 194.4 kB / 0.6017 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.2451, allocations: 0 / 0.6017 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00221/0.2473, allocations: 213.7 kB / 0.6019 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.2474, allocations: 6.031 kB / 0.6019 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.2474, allocations: 8 kB / 0.6019 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/0.2474, allocations: 32 / 0.6019 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007128/0.2482, allocations: 47.97 kB / 0.6019 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.2482, allocations: 4 kB / 0.6019 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006088/0.2488, allocations: 40.41 kB / 0.602 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.2489, allocations: 7.984 kB / 0.602 GB, free: 3.238 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.0001659/0.2491, allocations: 109.8 kB / 0.6021 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.2491, allocations: 11.84 kB / 0.6021 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.2515, allocations: 237 kB / 0.6023 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.2515, allocations: 3.984 kB / 0.6023 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2515, allocations: 0 / 0.6023 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.2515, allocations: 0 / 0.6023 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/0.2541, allocations: 462.4 kB / 0.6028 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2541, allocations: 4 kB / 0.6028 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006656/0.2548, allocations: 47.97 kB / 0.6028 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.2548, allocations: 0 / 0.6028 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.2549, allocations: 0 / 0.6028 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.2549, allocations: 3.984 kB / 0.6028 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.2549, allocations: 4 kB / 0.6028 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/0.2571, allocations: 299.4 kB / 0.6031 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.2572, allocations: 81.09 kB / 0.6032 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.2573, allocations: 8 kB / 0.6032 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006294/0.2579, allocations: 35.98 kB / 0.6032 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.2579, allocations: 4.188 kB / 0.6032 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.258, allocations: 7.984 kB / 0.6032 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.731e-05/0.258, allocations: 79.22 kB / 0.6033 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.426e-06/0.258, allocations: 0 / 0.6033 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004743/0.2585, allocations: 15.94 kB / 0.6033 GB, free: 1.75 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.000291/0.2588, allocations: 107.2 kB / 0.6034 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002058/0.2609, allocations: 183.8 kB / 0.6036 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2609, allocations: 0 / 0.6036 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009902/0.2619, allocations: 92.02 kB / 0.6037 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.2623, allocations: 10.81 kB / 0.6037 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.2643, allocations: 214.6 kB / 0.6039 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.2646, allocations: 0.677 MB / 0.6046 GB, free: 428 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004497/0.2651, allocations: 28 kB / 0.6046 GB, free: 400 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.912e-05/0.2652, allocations: 11.44 kB / 0.6046 GB, free: 388 kB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.2652, allocations: 0 / 0.6046 GB, free: 388 kB / 0.4981 GB Notification: Performance of Templates: time 0.3562/0.6215, allocations: 0.8022 MB / 0.6054 GB, free: 40.97 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)