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.7194/0.7194, allocations: 127.3 MB / 139.8 MB, free: 15.42 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 184.9 kB / 169.7 MB, free: 1.723 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.997/1.997, allocations: 205.1 MB / 404.5 MB, free: 1.574 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.001081/0.001081, allocations: 90.22 kB / 481.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.551e-05/3.553e-05, allocations: 8 kB / 0.5533 GB, free: 54.72 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1694, allocations: 76.76 MB / 0.6282 GB, free: 9.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5986/0.7681, allocations: 102.6 MB / 0.7284 GB, free: 10.84 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.7684, allocations: 76.2 kB / 0.7285 GB, free: 10.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002846/0.7713, allocations: 0.9435 MB / 0.7294 GB, free: 9.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.7713, allocations: 0 / 0.7294 GB, free: 9.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.7713, allocations: 4 kB / 0.7294 GB, free: 9.926 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.0003917/0.7717, allocations: 337.5 kB / 0.7297 GB, free: 9.555 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.7718, allocations: 12.03 kB / 0.7297 GB, free: 9.543 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.424e-05/0.7718, allocations: 34.56 kB / 0.7298 GB, free: 9.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.7719, allocations: 7.328 kB / 0.7298 GB, free: 9.496 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.772, allocations: 167.7 kB / 0.7299 GB, free: 9.293 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.7721, allocations: 4 kB / 0.7299 GB, free: 9.289 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.7721, allocations: 0 / 0.7299 GB, free: 9.289 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.7722, allocations: 37.06 kB / 0.73 GB, free: 9.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.7722, allocations: 0 / 0.73 GB, free: 9.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.7722, allocations: 0 / 0.73 GB, free: 9.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.7722, allocations: 7.938 kB / 0.73 GB, free: 9.242 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.066e-05/0.7723, allocations: 18.75 kB / 0.73 GB, free: 9.227 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.7728, allocations: 269 kB / 0.7303 GB, free: 8.926 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.616e-05/0.7728, allocations: 29.45 kB / 0.7303 GB, free: 8.891 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.7729, allocations: 11.61 kB / 0.7303 GB, free: 8.879 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003483/0.7732, allocations: 206.8 kB / 0.7305 GB, free: 8.641 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.7733, allocations: 30.56 kB / 0.7305 GB, free: 8.602 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.7733, allocations: 0 / 0.7305 GB, free: 8.602 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001708/0.7735, allocations: 45.53 kB / 0.7306 GB, free: 8.555 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.7735, allocations: 55.34 kB / 0.7306 GB, free: 8.488 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.144e-05/0.7736, allocations: 98.44 kB / 0.7307 GB, free: 8.391 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.7736, allocations: 25.7 kB / 0.7307 GB, free: 8.359 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.7737, allocations: 87.5 kB / 0.7308 GB, free: 8.273 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.7737, allocations: 7.906 kB / 0.7308 GB, free: 8.266 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-06/0.7737, allocations: 0 / 0.7308 GB, free: 8.266 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7739, allocations: 314.7 kB / 0.7311 GB, free: 7.953 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.7739, allocations: 4 kB / 0.7311 GB, free: 7.949 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.3e-05/0.7739, allocations: 11.84 kB / 0.7312 GB, free: 7.941 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.794e-05/0.7739, allocations: 0 / 0.7312 GB, free: 7.941 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7739, allocations: 0 / 0.7312 GB, free: 7.941 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.435e-05/0.774, allocations: 47.75 kB / 0.7312 GB, free: 7.895 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.774, allocations: 4 kB / 0.7312 GB, free: 7.891 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.7741, allocations: 4 kB / 0.7312 GB, free: 7.887 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.7741, allocations: 0 / 0.7312 GB, free: 7.887 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.704e-05/0.7742, allocations: 12.08 kB / 0.7312 GB, free: 7.875 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.7742, allocations: 15.88 kB / 0.7312 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.7743, allocations: 4 kB / 0.7312 GB, free: 7.855 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.7743, allocations: 4 kB / 0.7312 GB, free: 7.852 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.714e-05/0.7743, allocations: 107.5 kB / 0.7313 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.7744, allocations: 7.891 kB / 0.7313 GB, free: 7.738 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.7745, allocations: 52.44 kB / 0.7314 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7745, allocations: 4.031 kB / 0.7314 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7745, allocations: 0 / 0.7314 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.7745, allocations: 3.953 kB / 0.7314 GB, free: 7.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.7747, allocations: 156 kB / 0.7316 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.7747, allocations: 0 / 0.7316 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.7748, allocations: 15.98 kB / 0.7316 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.7748, allocations: 0 / 0.7316 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.7748, allocations: 0 / 0.7316 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.7748, allocations: 0 / 0.7316 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7748, allocations: 3.938 kB / 0.7316 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.7749, allocations: 145.1 kB / 0.7317 GB, free: 7.312 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.775, allocations: 81.05 kB / 0.7318 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.775, allocations: 0 / 0.7318 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.7751, allocations: 12.86 kB / 0.7318 GB, free: 7.203 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.7751, allocations: 0 / 0.7318 GB, free: 7.203 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.7751, allocations: 4 kB / 0.7318 GB, free: 7.199 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.431e-05/0.7752, allocations: 86.25 kB / 0.7319 GB, free: 7.117 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7752, allocations: 0 / 0.7319 GB, free: 7.117 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.7754, allocations: 15.94 kB / 0.7319 GB, free: 7.102 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.0004661/0.7759, allocations: 0.6933 MB / 0.7326 GB, free: 6.391 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.876e-05/0.776, allocations: 15.16 kB / 0.7326 GB, free: 6.379 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.776, allocations: 0 / 0.7326 GB, free: 6.379 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.297e-05/0.776, allocations: 7 kB / 0.7326 GB, free: 6.375 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.7762, allocations: 5.969 kB / 0.7326 GB, free: 6.371 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.7765, allocations: 101.5 kB / 0.7327 GB, free: 6.242 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.7768, allocations: 0.6809 MB / 0.7334 GB, free: 5.535 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.69e-05/0.7768, allocations: 4 kB / 0.7334 GB, free: 5.531 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.7769, allocations: 15.55 kB / 0.7334 GB, free: 5.516 MB / 490.7 MB Notification: Performance of SimCode: time 3.31e-07/0.7769, allocations: 0 / 0.7334 GB, free: 5.516 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01198/0.7889, allocations: 1.216 MB / 0.7346 GB, free: 4.414 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/0.7891, allocations: 156.9 kB / 0.7347 GB, free: 4.191 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.291, allocations: 0 / 0.7347 GB, free: 4.191 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)