Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 107.3 kB / 16.36 MB, free: 6.285 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.001288/0.001288, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.8578/0.8578, allocations: 143.1 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001329, allocations: 64.03 kB / 0.5156 GB, free: 14.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3928, allocations: 82.04 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.003034/0.3959, allocations: 1.437 MB / 0.5971 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007908/0.3967, allocations: 461.5 kB / 0.5975 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.3967, allocations: 0 / 0.5975 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.3968, allocations: 4.625 kB / 0.5975 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.133e-05/0.3969, allocations: 7.922 kB / 0.5975 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.3972, allocations: 25.27 kB / 0.5976 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.479e-05/0.3973, allocations: 27.86 kB / 0.5976 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3974, allocations: 9.203 kB / 0.5976 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.085e-05/0.3974, allocations: 8 kB / 0.5976 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.96e-05/0.3975, allocations: 11.92 kB / 0.5976 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.3975, allocations: 4.969 kB / 0.5976 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.719e-05/0.3976, allocations: 23.98 kB / 0.5976 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.3976, allocations: 3.984 kB / 0.5976 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.3977, allocations: 8.531 kB / 0.5977 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.3978, allocations: 39.83 kB / 0.5977 GB, free: 14.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3978, allocations: 1.938 kB / 0.5977 GB, free: 14.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3978, allocations: 0 / 0.5977 GB, free: 14.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.3978, allocations: 0 / 0.5977 GB, free: 14.06 MB / 446.1 MB 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.0004392/0.3983, allocations: 346.3 kB / 0.598 GB, free: 13.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3983, allocations: 12.02 kB / 0.598 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.3984, allocations: 0.9375 kB / 0.598 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.025e-05/0.3985, allocations: 168.3 kB / 0.5982 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3985, allocations: 384 / 0.5982 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.3985, allocations: 4.312 kB / 0.5982 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.3987, allocations: 57.97 kB / 0.5983 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3987, allocations: 0.7188 kB / 0.5983 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.3987, allocations: 0 / 0.5983 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3987, allocations: 5.5 kB / 0.5983 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.3989, allocations: 31.95 kB / 0.5983 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.3992, allocations: 250.3 kB / 0.5985 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.3993, allocations: 43.38 kB / 0.5986 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.525e-05/0.3994, allocations: 26.33 kB / 0.5986 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.3995, allocations: 81.11 kB / 0.5987 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.3995, allocations: 31.47 kB / 0.5987 GB, free: 12.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.3995, allocations: 1.219 kB / 0.5987 GB, free: 12.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003305/0.3999, allocations: 83.08 kB / 0.5988 GB, free: 12.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.3999, allocations: 55.34 kB / 0.5988 GB, free: 12.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.748e-05/0.4, allocations: 110.4 kB / 0.5989 GB, free: 12.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.4, allocations: 27.23 kB / 0.599 GB, free: 12.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.07e-05/0.4, allocations: 84.14 kB / 0.5991 GB, free: 12.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.4, allocations: 5.734 kB / 0.5991 GB, free: 12.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.4001, allocations: 13.72 kB / 0.5991 GB, free: 12.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.4001, allocations: 320.3 kB / 0.5994 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-05/0.4002, allocations: 15.98 kB / 0.5994 GB, free: 12.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-05/0.4003, allocations: 18.08 kB / 0.5994 GB, free: 12.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.4004, allocations: 46.25 kB / 0.5995 GB, free: 12.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4004, allocations: 0 / 0.5995 GB, free: 12.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001636/0.4006, allocations: 62.42 kB / 0.5995 GB, free: 11.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4006, allocations: 4 kB / 0.5995 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4006, allocations: 0.7812 kB / 0.5995 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4006, allocations: 3.938 kB / 0.5995 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.999e-05/0.4007, allocations: 15.3 kB / 0.5995 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4007, allocations: 0 / 0.5995 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.247e-05/0.4008, allocations: 11.98 kB / 0.5995 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.4008, allocations: 3.984 kB / 0.5995 GB, free: 11.95 MB / 446.1 MB 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 (2): * Single equations (assignments): 2 * 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 5.072e-05/0.4009, allocations: 113.8 kB / 0.5997 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.4009, allocations: 11.84 kB / 0.5997 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.4011, allocations: 70.16 kB / 0.5997 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.4011, allocations: 5.344 kB / 0.5997 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4011, allocations: 0 / 0.5997 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4011, allocations: 3.984 kB / 0.5997 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.4012, allocations: 162.5 kB / 0.5999 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4012, allocations: 0 / 0.5999 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-05/0.4013, allocations: 17.3 kB / 0.5999 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4013, allocations: 0 / 0.5999 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.4013, allocations: 0 / 0.5999 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4013, allocations: 0 / 0.5999 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4013, allocations: 1.344 kB / 0.5999 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.4015, allocations: 164.9 kB / 0.6001 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.4015, allocations: 77.11 kB / 0.6001 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.4016, allocations: 5.344 kB / 0.6002 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.75e-05/0.4016, allocations: 7.922 kB / 0.6002 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.4017, allocations: 5.281 kB / 0.6002 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.4017, allocations: 0 / 0.6002 GB, free: 11.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.387e-05/0.4017, allocations: 87.27 kB / 0.6002 GB, free: 11.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4017, allocations: 0.9062 kB / 0.6003 GB, free: 11.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.402, allocations: 8 kB / 0.6003 GB, free: 11.14 MB / 446.1 MB 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 (2): * Single equations (assignments): 2 * 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.0001433/0.4021, allocations: 100.3 kB / 0.6004 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.4023, allocations: 45.23 kB / 0.6004 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4023, allocations: 0 / 0.6004 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.096e-05/0.4024, allocations: 17.52 kB / 0.6004 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.4027, allocations: 13.75 kB / 0.6004 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.4031, allocations: 114.9 kB / 0.6005 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.4032, allocations: 0.6781 MB / 0.6012 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.793e-05/0.4032, allocations: 4 kB / 0.6012 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.857e-05/0.4032, allocations: 7.438 kB / 0.6012 GB, free: 10.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4033, allocations: 1.438 kB / 0.6012 GB, free: 10.11 MB / 446.1 MB Notification: Performance of Templates: time 0.002728/0.406, allocations: 0.5718 MB / 0.6018 GB, free: 9.566 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)