Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.782/1.782, allocations: 289.7 MB / 302.3 MB, free: 2.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00137/0.00137, allocations: 181.6 kB / 371.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.869/1.869, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008845/0.0008845, allocations: 87.77 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.716e-05/3.718e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2773, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7674/1.045, allocations: 139.3 MB / 1.116 GB, free: 44.32 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/1.045, allocations: 71.16 kB / 1.116 GB, free: 44.29 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002844/1.048, allocations: 1.071 MB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.533e-06/1.048, allocations: 0 / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.781e-06/1.048, allocations: 4.5 kB / 1.117 GB, free: 43.57 MB / 0.7448 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.0002657/1.048, allocations: 339.8 kB / 1.117 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.048, allocations: 8.625 kB / 1.117 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.037e-05/1.048, allocations: 30.56 kB / 1.117 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.506e-05/1.048, allocations: 11.98 kB / 1.117 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.742e-05/1.048, allocations: 171.2 kB / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/1.048, allocations: 6.609 kB / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/1.048, allocations: 4 kB / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.779e-05/1.049, allocations: 36.7 kB / 1.118 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/1.049, allocations: 0 / 1.118 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/1.049, allocations: 0.5625 kB / 1.118 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.049, allocations: 0 / 1.118 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.078e-05/1.049, allocations: 11.25 kB / 1.118 GB, free: 42.9 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/1.049, allocations: 274.3 kB / 1.118 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.687e-05/1.049, allocations: 32.67 kB / 1.118 GB, free: 42.58 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.324e-05/1.049, allocations: 16.45 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/1.049, allocations: 85.11 kB / 1.118 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/1.049, allocations: 32 kB / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.325e-06/1.049, allocations: 0.5156 kB / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001248/1.049, allocations: 40.97 kB / 1.118 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/1.049, allocations: 55.34 kB / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.002e-05/1.049, allocations: 96.5 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/1.049, allocations: 25.7 kB / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.714e-05/1.049, allocations: 80.14 kB / 1.118 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/1.049, allocations: 19.94 kB / 1.118 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/1.049, allocations: 0 / 1.118 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.711e-05/1.05, allocations: 314.8 kB / 1.119 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.549e-05/1.05, allocations: 4 kB / 1.119 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.177e-05/1.05, allocations: 7.188 kB / 1.119 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.73e-05/1.05, allocations: 4.656 kB / 1.119 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.05, allocations: 0 / 1.119 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.809e-05/1.05, allocations: 44.55 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/1.05, allocations: 8.094 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/1.05, allocations: 0 / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/1.05, allocations: 4 kB / 1.119 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.688e-05/1.05, allocations: 15.31 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/1.05, allocations: 0 / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/1.05, allocations: 8.875 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/1.05, allocations: 7.516 kB / 1.119 GB, free: 41.7 MB / 0.7448 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 () * 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 3.76e-05/1.05, allocations: 108.9 kB / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/1.05, allocations: 5.406 kB / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.58e-05/1.05, allocations: 50.88 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.05, allocations: 0 / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.05, allocations: 0 / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/1.05, allocations: 2.844 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/1.05, allocations: 159.3 kB / 1.119 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.05, allocations: 1.062 kB / 1.119 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/1.05, allocations: 22.77 kB / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/1.05, allocations: 0 / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/1.05, allocations: 0 / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.05, allocations: 4.688 kB / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/1.05, allocations: 0 / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.157e-05/1.05, allocations: 143 kB / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/1.05, allocations: 77.11 kB / 1.119 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/1.05, allocations: 0 / 1.119 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/1.051, allocations: 16.14 kB / 1.119 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/1.051, allocations: 0 / 1.119 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/1.051, allocations: 0 / 1.119 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.181e-05/1.051, allocations: 86.72 kB / 1.119 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/1.051, allocations: 0 / 1.119 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002012/1.051, allocations: 7.906 kB / 1.119 GB, free: 40.98 MB / 0.7448 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 () * 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.00027/1.051, allocations: 0.6885 MB / 1.12 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.731e-05/1.051, allocations: 12.47 kB / 1.12 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.051, allocations: 3.125 kB / 1.12 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.063e-05/1.051, allocations: 8 kB / 1.12 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/1.051, allocations: 2.938 kB / 1.12 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/1.052, allocations: 98.62 kB / 1.12 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/1.052, allocations: 0.6838 MB / 1.121 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.381e-05/1.052, allocations: 0.75 kB / 1.121 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/1.052, allocations: 10.75 kB / 1.121 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/1.052, allocations: 4 kB / 1.121 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0118/1.064, allocations: 1.138 MB / 1.122 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/1.064, allocations: 159.2 kB / 1.122 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.68, allocations: 3.938 kB / 1.122 GB, free: 38.62 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)