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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007561/0.0007561, allocations: 90.44 kB / 15.36 MB, free: 0.7344 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.004828/0.004828, allocations: 169.3 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005411/0.0005413, allocations: 22.25 kB / 0.6744 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2596, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001842/0.2615, allocations: 1.164 MB / 0.7891 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008705/0.2624, allocations: 0.4978 MB / 0.7896 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.2625, allocations: 0 / 0.7896 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.2625, allocations: 0 / 0.7896 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.729e-05/0.2626, allocations: 3.938 kB / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.2628, allocations: 19.98 kB / 0.7896 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.282e-05/0.2629, allocations: 31.86 kB / 0.7897 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.826e-05/0.263, allocations: 3.984 kB / 0.7897 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.081e-05/0.263, allocations: 8 kB / 0.7897 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.854e-05/0.2631, allocations: 19.91 kB / 0.7897 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.2631, allocations: 0 / 0.7897 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.156e-05/0.2632, allocations: 19.92 kB / 0.7897 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.2632, allocations: 4 kB / 0.7897 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.2633, allocations: 37.62 kB / 0.7898 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.2634, allocations: 27.89 kB / 0.7898 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2634, allocations: 4 kB / 0.7898 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2634, allocations: 3.938 kB / 0.7898 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2634, allocations: 0 / 0.7898 GB, free: 9.637 MB / 0.6075 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.0004503/0.2639, allocations: 347.7 kB / 0.7901 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.2639, allocations: 12.02 kB / 0.7901 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.264, allocations: 30.75 kB / 0.7902 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.054e-05/0.264, allocations: 4.938 kB / 0.7902 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.2641, allocations: 164.3 kB / 0.7903 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.2641, allocations: 384 / 0.7903 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.2642, allocations: 4.375 kB / 0.7903 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.2643, allocations: 65.73 kB / 0.7904 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.2644, allocations: 0 / 0.7904 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.2644, allocations: 0 / 0.7904 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2644, allocations: 0 / 0.7904 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.2646, allocations: 47.95 kB / 0.7904 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.2649, allocations: 256.9 kB / 0.7907 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.265, allocations: 46.48 kB / 0.7907 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.123e-05/0.2651, allocations: 28.91 kB / 0.7908 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/0.2653, allocations: 85.11 kB / 0.7908 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.2653, allocations: 30.56 kB / 0.7909 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.2653, allocations: 0 / 0.7909 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003762/0.2657, allocations: 93.64 kB / 0.791 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.2657, allocations: 59.41 kB / 0.791 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.2658, allocations: 97.84 kB / 0.7911 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.2659, allocations: 29.7 kB / 0.7911 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.2659, allocations: 88.2 kB / 0.7912 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.266, allocations: 11.84 kB / 0.7912 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.266, allocations: 9.719 kB / 0.7912 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2661, allocations: 326.7 kB / 0.7915 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.542e-05/0.2662, allocations: 19.98 kB / 0.7916 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.049e-05/0.2663, allocations: 23.98 kB / 0.7916 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.2665, allocations: 52.81 kB / 0.7916 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2665, allocations: 0 / 0.7916 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000196/0.2667, allocations: 73.73 kB / 0.7917 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2667, allocations: 4 kB / 0.7917 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2667, allocations: 0 / 0.7917 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2667, allocations: 0 / 0.7917 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.2668, allocations: 15.92 kB / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2668, allocations: 8.031 kB / 0.7917 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.2669, allocations: 7.984 kB / 0.7917 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.2669, allocations: 0 / 0.7917 GB, free: 7.383 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.188e-05/0.267, allocations: 117.8 kB / 0.7919 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.267, allocations: 3.906 kB / 0.7919 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.2673, allocations: 88.72 kB / 0.7919 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2673, allocations: 0 / 0.7919 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2673, allocations: 0 / 0.7919 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2673, allocations: 7.984 kB / 0.792 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.2675, allocations: 157.6 kB / 0.7921 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-06/0.2675, allocations: 0 / 0.7921 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.2675, allocations: 16.02 kB / 0.7921 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2675, allocations: 0 / 0.7921 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.2675, allocations: 0 / 0.7921 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2676, allocations: 3.938 kB / 0.7921 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2676, allocations: 0 / 0.7921 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.2678, allocations: 179.5 kB / 0.7923 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.2678, allocations: 81.09 kB / 0.7924 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.2679, allocations: 0 / 0.7924 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.848e-05/0.2679, allocations: 11.98 kB / 0.7924 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.268, allocations: 0 / 0.7924 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.268, allocations: 256 / 0.7924 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.118e-05/0.268, allocations: 91.27 kB / 0.7925 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2681, allocations: 4.031 kB / 0.7925 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002185/0.2683, allocations: 12 kB / 0.7925 GB, free: 6.523 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005399/0.2688, allocations: 0.7161 MB / 0.7932 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.269, allocations: 47.95 kB / 0.7932 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.269, allocations: 4.094 kB / 0.7932 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.433e-05/0.2691, allocations: 23.98 kB / 0.7933 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.2694, allocations: 4 kB / 0.7933 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004071/0.2698, allocations: 146.3 kB / 0.7934 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.2701, allocations: 0.681 MB / 0.7941 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.2701, allocations: 0 / 0.7941 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.2702, allocations: 11.44 kB / 0.7941 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2702, allocations: 0 / 0.7941 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01068/0.2809, allocations: 1.157 MB / 0.7952 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/0.2811, allocations: 199.5 kB / 0.7954 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.039, allocations: 0 / 0.7954 GB, free: 3.508 MB / 0.6075 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/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)