Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.315/2.315, allocations: 248.7 MB / 256.2 MB, free: 7.066 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001412/0.001412, allocations: 178.6 kB / 315.4 MB, free: 4 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.3 MB / 0.5662 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 95.59 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.787e-05/2.831e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2358, allocations: 106.2 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9832/1.219, allocations: 132.2 MB / 1.013 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/1.219, allocations: 74.33 kB / 1.013 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004627/1.224, allocations: 1.083 MB / 1.014 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/1.224, allocations: 0 / 1.014 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.763e-06/1.224, allocations: 0 / 1.014 GB, free: 5.668 MB / 0.6355 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.0004521/1.225, allocations: 348.5 kB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.225, allocations: 8.031 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/1.225, allocations: 7.938 kB / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/1.225, allocations: 167 kB / 1.015 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/1.225, allocations: 0 / 1.015 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/1.225, allocations: 4 kB / 1.015 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.506e-05/1.225, allocations: 7.062 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.434e-05/1.225, allocations: 39.7 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/1.225, allocations: 0 / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/1.225, allocations: 4 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/1.225, allocations: 3.938 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/1.226, allocations: 248 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.055e-05/1.226, allocations: 25.64 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/1.226, allocations: 12.42 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/1.226, allocations: 85.09 kB / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/1.226, allocations: 30.56 kB / 1.015 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/1.226, allocations: 0 / 1.015 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0003152/1.226, allocations: 52.12 kB / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/1.226, allocations: 55.41 kB / 1.015 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.08e-05/1.226, allocations: 96.41 kB / 1.015 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/1.227, allocations: 25.7 kB / 1.015 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/1.227, allocations: 84.12 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/1.227, allocations: 3.906 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/1.227, allocations: 4 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.227, allocations: 318.2 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.414e-05/1.227, allocations: 4 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.026e-05/1.227, allocations: 2.812 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/1.227, allocations: 19.11 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.227, allocations: 0 / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001883/1.227, allocations: 53.55 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.227, allocations: 9.656 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.227, allocations: 0 / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/1.227, allocations: 0 / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/1.227, allocations: 8 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/1.227, allocations: 7.938 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.208e-05/1.228, allocations: 15.95 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/1.228, allocations: 0 / 1.016 GB, free: 3.789 MB / 0.6355 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.239e-05/1.228, allocations: 111.6 kB / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001937/1.228, allocations: 51.42 kB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/1.228, allocations: 7.906 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/1.228, allocations: 59.81 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/1.228, allocations: 0 / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.228, allocations: 8 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.228, allocations: 0 / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/1.228, allocations: 141.4 kB / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.228, allocations: 0 / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/1.229, allocations: 15.98 kB / 1.016 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.229, allocations: 0 / 1.016 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/1.229, allocations: 0 / 1.016 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.229, allocations: 0 / 1.016 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.229, allocations: 0 / 1.016 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/1.229, allocations: 154.5 kB / 1.016 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/1.229, allocations: 81.09 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/1.229, allocations: 0.875 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/1.229, allocations: 8 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/1.229, allocations: 3.984 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/1.229, allocations: 0 / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.706e-05/1.229, allocations: 87.88 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/1.229, allocations: 0 / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003131/1.229, allocations: 11.91 kB / 1.017 GB, free: 3 MB / 0.6355 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.0005722/1.23, allocations: 0.6841 MB / 1.017 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.64e-05/1.23, allocations: 11.31 kB / 1.017 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.23, allocations: 4.094 kB / 1.017 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.417e-05/1.23, allocations: 11.38 kB / 1.017 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/1.23, allocations: 3.984 kB / 1.017 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/1.231, allocations: 101.8 kB / 1.017 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/1.231, allocations: 0.6807 MB / 1.018 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.616e-05/1.231, allocations: 0.7812 kB / 1.018 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/1.231, allocations: 14.62 kB / 1.018 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/1.231, allocations: 0 / 1.018 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03477/1.266, allocations: 0.8394 MB / 1.019 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002998/1.266, allocations: 138.4 kB / 1.019 GB, free: 408 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/3.583, allocations: 0.625 kB / 1.019 GB, free: 408 kB / 0.6355 GB