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.0008763/0.0008762, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001373/0.001374, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.938/1.938, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005513/0.0005514, allocations: 18.84 kB / 0.6738 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2663, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001787/0.2681, allocations: 1.148 MB / 0.7885 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008001/0.269, allocations: 490 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.269, allocations: 0 / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.269, allocations: 7.938 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.864e-05/0.2691, allocations: 0 / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.2693, allocations: 15.98 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.996e-05/0.2694, allocations: 31.84 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.451e-05/0.2695, allocations: 3.938 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.372e-05/0.2696, allocations: 8 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.726e-05/0.2696, allocations: 11.92 kB / 0.7891 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.2697, allocations: 0 / 0.7891 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.725e-05/0.2697, allocations: 23.98 kB / 0.7891 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.338e-06/0.2698, allocations: 4 kB / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.2698, allocations: 33.64 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.189e-05/0.2699, allocations: 19.95 kB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2699, allocations: 3.984 kB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2699, allocations: 0 / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2699, allocations: 0 / 0.7891 GB, free: 10.04 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.0004911/0.2704, allocations: 343.5 kB / 0.7895 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.2705, allocations: 16.03 kB / 0.7895 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.2705, allocations: 34.56 kB / 0.7895 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.249e-05/0.2706, allocations: 0 / 0.7895 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.2708, allocations: 167 kB / 0.7897 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.2708, allocations: 0 / 0.7897 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.2708, allocations: 0 / 0.7897 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.271, allocations: 53.67 kB / 0.7897 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/0.271, allocations: 0 / 0.7897 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.271, allocations: 7.938 kB / 0.7897 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.271, allocations: 7.938 kB / 0.7897 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.2712, allocations: 43.95 kB / 0.7898 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.2716, allocations: 252.8 kB / 0.79 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.2718, allocations: 46.55 kB / 0.7901 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.373e-05/0.2719, allocations: 24.91 kB / 0.7901 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.272, allocations: 85.11 kB / 0.7902 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.272, allocations: 38.5 kB / 0.7902 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.272, allocations: 0 / 0.7902 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003502/0.2724, allocations: 101.7 kB / 0.7903 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.2724, allocations: 51.41 kB / 0.7904 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.288e-05/0.2725, allocations: 101.8 kB / 0.7905 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.2726, allocations: 29.7 kB / 0.7905 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.2726, allocations: 88.08 kB / 0.7906 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.2726, allocations: 7.844 kB / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.2726, allocations: 0 / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2728, allocations: 318.8 kB / 0.7909 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.579e-05/0.2729, allocations: 24.02 kB / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/0.2729, allocations: 19.98 kB / 0.7909 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.457e-05/0.273, allocations: 27.98 kB / 0.7909 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.273, allocations: 0 / 0.7909 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001766/0.2732, allocations: 73.66 kB / 0.791 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2732, allocations: 8 kB / 0.791 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2732, allocations: 0 / 0.791 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2733, allocations: 4.031 kB / 0.791 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.513e-05/0.2734, allocations: 15.98 kB / 0.791 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.2734, allocations: 0 / 0.791 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.2734, allocations: 15.94 kB / 0.7911 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.2734, allocations: 0 / 0.7911 GB, free: 7.828 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.636e-05/0.2735, allocations: 105.8 kB / 0.7912 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.2735, allocations: 4 kB / 0.7912 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.2738, allocations: 92.62 kB / 0.7912 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.2738, allocations: 0 / 0.7912 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2738, allocations: 0 / 0.7912 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2738, allocations: 0 / 0.7912 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.274, allocations: 169.6 kB / 0.7914 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.274, allocations: 0 / 0.7914 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.087e-05/0.274, allocations: 11.98 kB / 0.7914 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.274, allocations: 4 kB / 0.7914 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.274, allocations: 256 / 0.7914 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2741, allocations: 4 kB / 0.7914 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2741, allocations: 3.984 kB / 0.7914 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.2743, allocations: 183.3 kB / 0.7916 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.2744, allocations: 81.11 kB / 0.7917 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.2744, allocations: 0 / 0.7917 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.929e-05/0.2744, allocations: 7.984 kB / 0.7917 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.2745, allocations: 8.031 kB / 0.7917 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.2745, allocations: 0 / 0.7917 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.025e-05/0.2746, allocations: 83.28 kB / 0.7918 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2746, allocations: 3.938 kB / 0.7918 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002152/0.2748, allocations: 4 kB / 0.7918 GB, free: 6.977 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 (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.0006301/0.2754, allocations: 0.7163 MB / 0.7925 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001948/0.2756, allocations: 47.94 kB / 0.7925 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2756, allocations: 0 / 0.7925 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.087e-05/0.2757, allocations: 31.97 kB / 0.7926 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.276, allocations: 6.891 kB / 0.7926 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.2764, allocations: 146.4 kB / 0.7927 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.2768, allocations: 0.677 MB / 0.7934 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.729e-05/0.2768, allocations: 0 / 0.7934 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.2769, allocations: 15.44 kB / 0.7934 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2769, allocations: 0 / 0.7934 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.2896, allocations: 1.14 MB / 0.7945 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.2899, allocations: 187.7 kB / 0.7947 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/2.023, allocations: 3.938 kB / 0.7947 GB, free: 3.992 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/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) Environment - environmentSimulation: