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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7172/0.7172, allocations: 127.4 MB / 134.9 MB, free: 3.727 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 176.9 kB / 164.6 MB, free: 6.535 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 205.2 MB / 399.5 MB, free: 5.867 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008423/0.0008422, allocations: 100.7 kB / 476.7 MB, free: 8.598 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.299e-05/2.299e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1605, allocations: 76.76 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.572/0.7325, allocations: 102.2 MB / 0.7214 GB, free: 13.14 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.7329, allocations: 70.64 kB / 0.7215 GB, free: 13.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003018/0.7359, allocations: 0.9521 MB / 0.7224 GB, free: 12.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.736, allocations: 0 / 0.7224 GB, free: 12.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.736, allocations: 0 / 0.7224 GB, free: 12.23 MB / 490.7 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.0003991/0.7364, allocations: 342.2 kB / 0.7228 GB, free: 11.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.7364, allocations: 8.031 kB / 0.7228 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.7365, allocations: 3.953 kB / 0.7228 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.7366, allocations: 171.7 kB / 0.7229 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.7367, allocations: 0 / 0.7229 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.7367, allocations: 0 / 0.7229 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.492e-05/0.7368, allocations: 11.44 kB / 0.7229 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.197e-05/0.7368, allocations: 36.94 kB / 0.723 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.7369, allocations: 0 / 0.723 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.7369, allocations: 4 kB / 0.723 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.7369, allocations: 0 / 0.723 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.7373, allocations: 244.2 kB / 0.7232 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.21e-05/0.7374, allocations: 33.88 kB / 0.7232 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.7374, allocations: 16.48 kB / 0.7233 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003441/0.7377, allocations: 194.8 kB / 0.7234 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.7378, allocations: 30.56 kB / 0.7235 GB, free: 11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.7378, allocations: 0 / 0.7235 GB, free: 11 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002521/0.7381, allocations: 64.28 kB / 0.7235 GB, free: 10.94 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.7381, allocations: 51.41 kB / 0.7236 GB, free: 10.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.504e-05/0.7382, allocations: 98.52 kB / 0.7237 GB, free: 10.78 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.7382, allocations: 25.7 kB / 0.7237 GB, free: 10.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.7383, allocations: 84.14 kB / 0.7238 GB, free: 10.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.7383, allocations: 8.641 kB / 0.7238 GB, free: 10.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-06/0.7383, allocations: 0 / 0.7238 GB, free: 10.65 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.7384, allocations: 314 kB / 0.7241 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.7384, allocations: 8.031 kB / 0.7241 GB, free: 10.33 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.34e-05/0.7385, allocations: 11.38 kB / 0.7241 GB, free: 10.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.053e-05/0.7385, allocations: 14.8 kB / 0.7241 GB, free: 10.31 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7385, allocations: 0 / 0.7241 GB, free: 10.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001422/0.7387, allocations: 49.36 kB / 0.7242 GB, free: 10.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.7387, allocations: 11.94 kB / 0.7242 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.7387, allocations: 0 / 0.7242 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.7388, allocations: 0 / 0.7242 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.968e-05/0.7389, allocations: 12.09 kB / 0.7242 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.7389, allocations: 3.984 kB / 0.7242 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/0.7389, allocations: 8 kB / 0.7242 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.7389, allocations: 3.953 kB / 0.7242 GB, free: 10.22 MB / 490.7 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 () * 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 6.242e-05/0.739, allocations: 105 kB / 0.7243 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001346/0.7392, allocations: 60.64 kB / 0.7244 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.7392, allocations: 7.375 kB / 0.7244 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.7393, allocations: 60.77 kB / 0.7244 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.7394, allocations: 3.25 kB / 0.7244 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7394, allocations: 3.953 kB / 0.7244 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.7394, allocations: 0 / 0.7244 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.7395, allocations: 133.5 kB / 0.7246 GB, free: 9.816 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.7395, allocations: 0 / 0.7246 GB, free: 9.816 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.556e-05/0.7396, allocations: 15.98 kB / 0.7246 GB, free: 9.801 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7396, allocations: 0 / 0.7246 GB, free: 9.801 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.7396, allocations: 0 / 0.7246 GB, free: 9.801 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.7396, allocations: 4.031 kB / 0.7246 GB, free: 9.797 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.7396, allocations: 0 / 0.7246 GB, free: 9.797 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.7398, allocations: 153.5 kB / 0.7247 GB, free: 9.637 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.7399, allocations: 81.02 kB / 0.7248 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.7399, allocations: 0 / 0.7248 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.113e-05/0.74, allocations: 11.98 kB / 0.7248 GB, free: 9.527 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.74, allocations: 7.906 kB / 0.7248 GB, free: 9.523 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.74, allocations: 0 / 0.7248 GB, free: 9.523 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.632e-05/0.7401, allocations: 79.28 kB / 0.7249 GB, free: 9.445 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7401, allocations: 0 / 0.7249 GB, free: 9.445 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.7403, allocations: 19.92 kB / 0.7249 GB, free: 9.426 MB / 490.7 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 () * 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.0004849/0.7408, allocations: 0.6944 MB / 0.7256 GB, free: 8.715 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.429e-05/0.7409, allocations: 11.38 kB / 0.7256 GB, free: 8.707 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7409, allocations: 4 kB / 0.7256 GB, free: 8.703 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.078e-05/0.7409, allocations: 7.375 kB / 0.7256 GB, free: 8.699 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.7411, allocations: 0 / 0.7256 GB, free: 8.699 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.7414, allocations: 94.59 kB / 0.7257 GB, free: 8.574 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.7416, allocations: 0.6808 MB / 0.7264 GB, free: 7.867 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.34e-05/0.7417, allocations: 11.92 kB / 0.7264 GB, free: 7.855 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.7417, allocations: 11 kB / 0.7264 GB, free: 7.848 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7417, allocations: 3.938 kB / 0.7264 GB, free: 7.844 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.7608, allocations: 0.9018 MB / 0.7273 GB, free: 6.957 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/0.7612, allocations: 147.9 kB / 0.7274 GB, free: 6.762 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/2.27, allocations: 0 / 0.7274 GB, free: 6.762 MB / 490.7 MB (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)