Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.58/2.58, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001465/0.001464, allocations: 188.1 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001169/0.001168, allocations: 79.05 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.67e-05/2.679e-05, allocations: 4 kB / 0.8508 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8453/0.8453, allocations: 115.3 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2402/1.086, allocations: 137.5 MB / 1.098 GB, free: 2.883 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/1.086, allocations: 75.95 kB / 1.098 GB, free: 2.809 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004629/1.091, allocations: 1.072 MB / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.342e-06/1.091, allocations: 0 / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.406e-06/1.091, allocations: 0.5625 kB / 1.099 GB, free: 1.758 MB / 0.698 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.0004398/1.091, allocations: 341.9 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/1.091, allocations: 16.52 kB / 1.099 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/1.091, allocations: 5.109 kB / 1.099 GB, free: 1.367 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/1.091, allocations: 167.6 kB / 1.099 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/1.091, allocations: 0.5312 kB / 1.099 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/1.091, allocations: 0 / 1.099 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.027e-05/1.092, allocations: 19.38 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.321e-05/1.092, allocations: 39.22 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/1.092, allocations: 0 / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/1.092, allocations: 0 / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/1.092, allocations: 2.156 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/1.092, allocations: 244.2 kB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.764e-05/1.092, allocations: 27.2 kB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.57e-05/1.092, allocations: 9.391 kB / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/1.092, allocations: 85.77 kB / 1.1 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/1.093, allocations: 35.38 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/1.093, allocations: 4.531 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000318/1.093, allocations: 46.41 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/1.093, allocations: 52.12 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.562e-05/1.093, allocations: 95.7 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/1.093, allocations: 29.7 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/1.093, allocations: 84.14 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/1.093, allocations: 3.906 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/1.093, allocations: 0 / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.093, allocations: 318.8 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.408e-05/1.093, allocations: 8.422 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/1.093, allocations: 6.375 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/1.094, allocations: 19.97 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.094, allocations: 0 / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001896/1.094, allocations: 53.53 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.094, allocations: 4.781 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/1.094, allocations: 5.719 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/1.094, allocations: 2.562 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/1.094, allocations: 15.45 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/1.094, allocations: 0.875 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.745e-05/1.094, allocations: 13 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/1.094, allocations: 4 kB / 1.101 GB, free: 15.86 MB / 0.7136 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 8.677e-05/1.094, allocations: 115.4 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002161/1.094, allocations: 49.69 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/1.094, allocations: 3.938 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/1.095, allocations: 57.42 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/1.095, allocations: 0 / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.095, allocations: 4 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.095, allocations: 4.062 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/1.095, allocations: 138.2 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.095, allocations: 0 / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/1.095, allocations: 11.98 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/1.095, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/1.095, allocations: 0.5156 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.095, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.095, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/1.095, allocations: 159.3 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/1.095, allocations: 81.11 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/1.095, allocations: 2.125 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/1.096, allocations: 11.98 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/1.096, allocations: 6.203 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/1.096, allocations: 0 / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.648e-05/1.096, allocations: 79.28 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.2e-07/1.096, allocations: 4.031 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003081/1.096, allocations: 4 kB / 1.101 GB, free: 15.06 MB / 0.7136 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.0005807/1.097, allocations: 0.6863 MB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001009/1.097, allocations: 15.94 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.097, allocations: 4.094 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.642e-05/1.097, allocations: 11.98 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/1.097, allocations: 5.891 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/1.097, allocations: 96 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/1.098, allocations: 0.6773 MB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.584e-05/1.098, allocations: 2.344 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/1.098, allocations: 11.44 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/1.098, allocations: 4.062 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03786/1.136, allocations: 0.8341 MB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003273/1.136, allocations: 143.7 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/3.487, allocations: 0 / 1.104 GB, free: 12.48 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)