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.001799/0.001799, allocations: 108.6 kB / 15.73 MB, free: 72 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.00224/0.00224, allocations: 182.9 kB / 16.66 MB, free: 6.602 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.01/1.01, allocations: 143 MB / 433.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 63.91 kB / 0.5955 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4904/0.492, allocations: 82.02 MB / 0.6756 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002391/0.4944, allocations: 1.437 MB / 0.677 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007132/0.4952, allocations: 472.1 kB / 0.6775 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.4952, allocations: 0 / 0.6775 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.4953, allocations: 4 kB / 0.6775 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.518e-05/0.4953, allocations: 5.125 kB / 0.6775 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.4956, allocations: 23.61 kB / 0.6775 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.474e-05/0.4956, allocations: 29.02 kB / 0.6775 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.4958, allocations: 10.88 kB / 0.6776 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.578e-05/0.4958, allocations: 13.06 kB / 0.6776 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.4959, allocations: 10.75 kB / 0.6776 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.4959, allocations: 1.406 kB / 0.6776 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.345e-05/0.496, allocations: 26.19 kB / 0.6776 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.496, allocations: 9.5 kB / 0.6776 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.496, allocations: 9.312 kB / 0.6776 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.4962, allocations: 39.23 kB / 0.6777 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4962, allocations: 0 / 0.6777 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4962, allocations: 1 kB / 0.6777 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.4962, allocations: 0 / 0.6777 GB, free: 15.86 MB / 0.5137 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.0004273/0.4966, allocations: 340.8 kB / 0.678 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.4967, allocations: 10.16 kB / 0.678 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.4967, allocations: 1.938 kB / 0.678 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.4968, allocations: 178.4 kB / 0.6782 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.4968, allocations: 384 / 0.6782 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.4969, allocations: 2.469 kB / 0.6782 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.497, allocations: 57.61 kB / 0.6782 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.4971, allocations: 0 / 0.6782 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.4971, allocations: 0 / 0.6782 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4971, allocations: 1.375 kB / 0.6782 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.4972, allocations: 34.17 kB / 0.6783 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.4976, allocations: 249.2 kB / 0.6785 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.4977, allocations: 39.44 kB / 0.6785 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.248e-05/0.4978, allocations: 23.31 kB / 0.6786 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.4979, allocations: 88.56 kB / 0.6786 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.4979, allocations: 34.56 kB / 0.6787 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4979, allocations: 1.125 kB / 0.6787 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003389/0.4983, allocations: 80.77 kB / 0.6787 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.4983, allocations: 52.59 kB / 0.6788 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.844e-05/0.4984, allocations: 103.5 kB / 0.6789 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.4984, allocations: 25.7 kB / 0.6789 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.4985, allocations: 93.33 kB / 0.679 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.4985, allocations: 9.109 kB / 0.679 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.4985, allocations: 12.5 kB / 0.679 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.4986, allocations: 311.6 kB / 0.6793 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.4987, allocations: 17.36 kB / 0.6793 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.4988, allocations: 22.16 kB / 0.6794 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.499, allocations: 47.48 kB / 0.6794 GB, free: 14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.499, allocations: 0 / 0.6794 GB, free: 14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001823/0.4992, allocations: 64.56 kB / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.4992, allocations: 6.125 kB / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4992, allocations: 0 / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.4992, allocations: 1.188 kB / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/0.4993, allocations: 13.92 kB / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.4993, allocations: 0 / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.4993, allocations: 3.5 kB / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.4994, allocations: 1.031 kB / 0.6795 GB, free: 13.95 MB / 0.5137 GB 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 7.101e-05/0.4994, allocations: 115.8 kB / 0.6796 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.4995, allocations: 8.859 kB / 0.6796 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002173/0.4997, allocations: 79.58 kB / 0.6797 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4997, allocations: 0 / 0.6797 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4997, allocations: 1.125 kB / 0.6797 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.4997, allocations: 0 / 0.6797 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.4999, allocations: 159.3 kB / 0.6798 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.4999, allocations: 4 kB / 0.6799 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/0.4999, allocations: 9.484 kB / 0.6799 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.4999, allocations: 1.031 kB / 0.6799 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.5, allocations: 0 / 0.6799 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5, allocations: 0.9375 kB / 0.6799 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5, allocations: 4.031 kB / 0.6799 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.5002, allocations: 171.7 kB / 0.68 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.5003, allocations: 78.33 kB / 0.6801 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.5003, allocations: 5.047 kB / 0.6801 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/0.5004, allocations: 3.344 kB / 0.6801 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.5004, allocations: 17.08 kB / 0.6801 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.5004, allocations: 1.156 kB / 0.6801 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.5005, allocations: 78.81 kB / 0.6802 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5005, allocations: 0 / 0.6802 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000229/0.5007, allocations: 10.28 kB / 0.6802 GB, free: 13.2 MB / 0.5137 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 (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.0001849/0.5009, allocations: 102.1 kB / 0.6803 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.5011, allocations: 49.45 kB / 0.6804 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5012, allocations: 0 / 0.6804 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.215e-05/0.5013, allocations: 15.27 kB / 0.6804 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.5016, allocations: 18.17 kB / 0.6804 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.5018, allocations: 97.48 kB / 0.6805 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.5021, allocations: 0.6769 MB / 0.6811 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.57e-05/0.5021, allocations: 5.656 kB / 0.6811 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.997e-05/0.5022, allocations: 8.938 kB / 0.6812 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.5022, allocations: 0 / 0.6812 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of Templates: time 0.002885/0.5051, allocations: 0.5679 MB / 0.6817 GB, free: 11.95 MB / 0.5137 GB 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)