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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007853/0.007853, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.002024/0.002024, allocations: 198.9 kB / 16.67 MB, free: 5.98 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.038/1.038, allocations: 143.1 MB / 433.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.91 kB / 0.5951 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.473, allocations: 82.02 MB / 0.6752 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002603/0.4757, allocations: 1.441 MB / 0.6766 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000803/0.4765, allocations: 467.4 kB / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.552e-05/0.4766, allocations: 1.125 kB / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.4766, allocations: 0 / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.354e-05/0.4767, allocations: 9.125 kB / 0.677 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.477, allocations: 22.36 kB / 0.6771 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.539e-05/0.4771, allocations: 30.23 kB / 0.6771 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.4772, allocations: 14.89 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.391e-05/0.4772, allocations: 7.672 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.273e-05/0.4773, allocations: 12.16 kB / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.4773, allocations: 1.188 kB / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.21e-05/0.4774, allocations: 25.34 kB / 0.6771 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.4774, allocations: 5.094 kB / 0.6771 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.4774, allocations: 14.69 kB / 0.6772 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.4776, allocations: 32.56 kB / 0.6772 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4776, allocations: 4.969 kB / 0.6772 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4776, allocations: 0 / 0.6772 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.4776, allocations: 0 / 0.6772 GB, free: 15.55 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.0004682/0.4781, allocations: 340.5 kB / 0.6775 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.4781, allocations: 13.16 kB / 0.6775 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.065e-05/0.4782, allocations: 35.81 kB / 0.6776 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.4782, allocations: 1.906 kB / 0.6776 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.4784, allocations: 174.4 kB / 0.6777 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.4784, allocations: 1.5 kB / 0.6777 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.4784, allocations: 1.375 kB / 0.6777 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.4786, allocations: 57.3 kB / 0.6778 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4786, allocations: 0 / 0.6778 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.4786, allocations: 1.375 kB / 0.6778 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.4786, allocations: 0 / 0.6778 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.4789, allocations: 34.33 kB / 0.6778 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.4792, allocations: 258.3 kB / 0.6781 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.4794, allocations: 35.56 kB / 0.6781 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.514e-05/0.4795, allocations: 18.09 kB / 0.6781 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.4796, allocations: 88.56 kB / 0.6782 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.4797, allocations: 35.72 kB / 0.6782 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.4797, allocations: 0 / 0.6782 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003919/0.4801, allocations: 80.73 kB / 0.6783 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.4801, allocations: 56.53 kB / 0.6784 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.4802, allocations: 103.6 kB / 0.6785 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.4803, allocations: 26.83 kB / 0.6785 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.4803, allocations: 93.41 kB / 0.6786 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.4804, allocations: 5.062 kB / 0.6786 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.4804, allocations: 11.41 kB / 0.6786 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4805, allocations: 320.6 kB / 0.6789 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.364e-05/0.4806, allocations: 13.42 kB / 0.6789 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.852e-05/0.4807, allocations: 24.88 kB / 0.6789 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.4809, allocations: 39.61 kB / 0.679 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4809, allocations: 1.25 kB / 0.679 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002072/0.4811, allocations: 64.66 kB / 0.679 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.4812, allocations: 6.531 kB / 0.679 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4812, allocations: 0 / 0.679 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.4812, allocations: 1.188 kB / 0.6791 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/0.4813, allocations: 13.89 kB / 0.6791 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4813, allocations: 0 / 0.6791 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.602e-05/0.4814, allocations: 4.594 kB / 0.6791 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.4814, allocations: 0 / 0.6791 GB, free: 13.6 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 8.425e-05/0.4815, allocations: 123.7 kB / 0.6792 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.4815, allocations: 8.922 kB / 0.6792 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.4818, allocations: 75.91 kB / 0.6793 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4818, allocations: 0 / 0.6793 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4818, allocations: 1.438 kB / 0.6793 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4818, allocations: 3.938 kB / 0.6793 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.482, allocations: 163.1 kB / 0.6794 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.482, allocations: 0 / 0.6794 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.655e-05/0.4821, allocations: 5.562 kB / 0.6794 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4821, allocations: 0 / 0.6794 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.4821, allocations: 1.5 kB / 0.6794 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4821, allocations: 0 / 0.6794 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.4821, allocations: 3.984 kB / 0.6794 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.4824, allocations: 167.6 kB / 0.6796 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.753e-05/0.4824, allocations: 82.06 kB / 0.6797 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.4825, allocations: 1.094 kB / 0.6797 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.4825, allocations: 7.438 kB / 0.6797 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.4826, allocations: 5.172 kB / 0.6797 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.4826, allocations: 5.188 kB / 0.6797 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.4826, allocations: 88.16 kB / 0.6798 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4826, allocations: 0 / 0.6798 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002281/0.4829, allocations: 6 kB / 0.6798 GB, free: 12.85 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.0005767/0.4835, allocations: 0.7108 MB / 0.6805 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.4837, allocations: 33.81 kB / 0.6805 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4837, allocations: 0 / 0.6805 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.264e-05/0.4838, allocations: 19.73 kB / 0.6805 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.4841, allocations: 12.39 kB / 0.6805 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.4846, allocations: 135.9 kB / 0.6807 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.4848, allocations: 0.6809 MB / 0.6813 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.676e-05/0.4848, allocations: 1.062 kB / 0.6813 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.4849, allocations: 12.66 kB / 0.6813 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.4849, allocations: 0 / 0.6813 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.5053, allocations: 1.448 MB / 0.6828 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/7.851, allocations: 5.062 kB / 0.6828 GB, free: 10.45 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)