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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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: "" <> 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.001006/0.001006, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001056/0.001056, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.139/1.139, allocations: 143.3 MB / 434.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003708, allocations: 11.98 kB / 0.5159 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1916, allocations: 83.42 MB / 0.5974 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.001519/0.1932, allocations: 1.143 MB / 0.5985 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000641/0.1938, allocations: 440.2 kB / 0.5989 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.1939, allocations: 0 / 0.5989 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.1939, allocations: 3.938 kB / 0.5989 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.202e-05/0.194, allocations: 3.984 kB / 0.5989 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.1941, allocations: 15.98 kB / 0.5989 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.742e-05/0.1942, allocations: 11.98 kB / 0.5989 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.557e-05/0.1943, allocations: 11.98 kB / 0.5989 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.82e-05/0.1943, allocations: 11.94 kB / 0.5989 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.212e-05/0.1944, allocations: 11.92 kB / 0.599 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.936e-06/0.1944, allocations: 0 / 0.599 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.357e-05/0.1945, allocations: 19.97 kB / 0.599 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.767e-06/0.1945, allocations: 4 kB / 0.599 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.1945, allocations: 29.7 kB / 0.599 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.443e-05/0.1946, allocations: 19.91 kB / 0.599 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.1946, allocations: 0 / 0.599 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1946, allocations: 0 / 0.599 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1946, allocations: 8 kB / 0.599 GB, free: 6.078 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.0004388/0.1951, allocations: 341.8 kB / 0.5994 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1951, allocations: 11.97 kB / 0.5994 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.1951, allocations: 30.56 kB / 0.5994 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.1952, allocations: 4 kB / 0.5994 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1953, allocations: 175 kB / 0.5996 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.1953, allocations: 0 / 0.5996 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1953, allocations: 8 kB / 0.5996 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1955, allocations: 53.67 kB / 0.5996 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.1955, allocations: 0 / 0.5996 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1955, allocations: 4 kB / 0.5996 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1955, allocations: 0 / 0.5996 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.1957, allocations: 43.97 kB / 0.5997 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.196, allocations: 252.8 kB / 0.5999 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.1962, allocations: 50.5 kB / 0.6 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.1963, allocations: 89.14 kB / 0.6001 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.1963, allocations: 30.56 kB / 0.6001 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1963, allocations: 0 / 0.6001 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003582/0.1967, allocations: 97.64 kB / 0.6002 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.1967, allocations: 55.34 kB / 0.6002 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.711e-05/0.1968, allocations: 109.8 kB / 0.6003 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.1968, allocations: 25.7 kB / 0.6004 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.1969, allocations: 84.14 kB / 0.6004 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.1969, allocations: 11.84 kB / 0.6004 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.1969, allocations: 4.125 kB / 0.6005 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.197, allocations: 310.8 kB / 0.6007 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-05/0.1971, allocations: 23.98 kB / 0.6008 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.789e-05/0.1972, allocations: 19.97 kB / 0.6008 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.204e-05/0.1973, allocations: 28.05 kB / 0.6008 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1973, allocations: 0 / 0.6008 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002031/0.1975, allocations: 77.62 kB / 0.6009 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1976, allocations: 8 kB / 0.6009 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1976, allocations: 3.984 kB / 0.6009 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1976, allocations: 3.984 kB / 0.6009 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.473e-05/0.1977, allocations: 12 kB / 0.6009 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.1977, allocations: 7.922 kB / 0.6009 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.1977, allocations: 7.953 kB / 0.6009 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.1978, allocations: 0 / 0.6009 GB, free: 3.895 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.038e-05/0.1978, allocations: 117.8 kB / 0.601 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.1979, allocations: 0 / 0.601 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.1981, allocations: 88.67 kB / 0.6011 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1981, allocations: 0 / 0.6011 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1981, allocations: 8.031 kB / 0.6011 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1981, allocations: 0 / 0.6011 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.1983, allocations: 161.6 kB / 0.6013 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1983, allocations: 0 / 0.6013 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.97e-05/0.1984, allocations: 11.98 kB / 0.6013 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1984, allocations: 0 / 0.6013 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.1984, allocations: 0 / 0.6013 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.1984, allocations: 0 / 0.6013 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1984, allocations: 7.938 kB / 0.6013 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.1986, allocations: 175.5 kB / 0.6015 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.1987, allocations: 77.11 kB / 0.6015 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1987, allocations: 0 / 0.6015 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.1988, allocations: 16.27 kB / 0.6016 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.1988, allocations: 0 / 0.6016 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1988, allocations: 4 kB / 0.6016 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.274e-05/0.1989, allocations: 87.27 kB / 0.6017 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1989, allocations: 4 kB / 0.6017 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002394/0.1991, allocations: 8 kB / 0.6017 GB, free: 3.047 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005667/0.1997, allocations: 0.7123 MB / 0.6024 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.1999, allocations: 51.98 kB / 0.6024 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1999, allocations: 0 / 0.6024 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.733e-05/0.2, allocations: 23.98 kB / 0.6024 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.2002, allocations: 8.125 kB / 0.6024 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.2006, allocations: 142.2 kB / 0.6026 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.2009, allocations: 0.6848 MB / 0.6032 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.218e-05/0.2009, allocations: 0 / 0.6032 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.201, allocations: 7.438 kB / 0.6033 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.201, allocations: 4 kB / 0.6033 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01237/0.2134, allocations: 1.152 MB / 0.6044 GB, free: 308 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/0.2137, allocations: 187.4 kB / 0.6046 GB, free: 64 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/1.903, allocations: 0 / 0.6046 GB, free: 64 kB / 0.4981 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/linux/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) Environment - environmentSimulation: