Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 249.5 MB / 257 MB, free: 6.926 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.001022/0.001022, allocations: 187.4 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009717/0.0009716, allocations: 88.59 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.565e-05/2.569e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2212, allocations: 106.4 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7664/0.9877, allocations: 131.8 MB / 1.014 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.988, allocations: 83.06 kB / 1.014 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002213/0.9902, allocations: 0.8325 MB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9902, allocations: 4 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.9902, allocations: 4 kB / 1.015 GB, free: 4.82 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.0002892/0.9905, allocations: 318 kB / 1.015 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.9906, allocations: 8.031 kB / 1.015 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.9906, allocations: 0 / 1.015 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.9907, allocations: 171 kB / 1.015 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.9908, allocations: 0 / 1.015 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.9908, allocations: 6.75 kB / 1.015 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.927e-05/0.9909, allocations: 6.188 kB / 1.015 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.903e-05/0.9909, allocations: 29.7 kB / 1.015 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.991, allocations: 4 kB / 1.015 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.991, allocations: 0 / 1.015 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.991, allocations: 6.719 kB / 1.015 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.9911, allocations: 133.1 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.9913, allocations: 29.16 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.9913, allocations: 8.844 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.9915, allocations: 85.05 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.9915, allocations: 38.66 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.9915, allocations: 0 / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.002467/0.994, allocations: 354.9 kB / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.9941, allocations: 59.34 kB / 1.016 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.379e-05/0.9941, allocations: 85 kB / 1.016 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.9941, allocations: 29.7 kB / 1.016 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.315e-05/0.9942, allocations: 80.14 kB / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.9942, allocations: 14.67 kB / 1.016 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.064e-05/0.9942, allocations: 4 kB / 1.016 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.9944, allocations: 314 kB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-05/0.9944, allocations: 4 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.835e-05/0.9945, allocations: 33.62 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.569e-05/0.9946, allocations: 15.98 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.9946, allocations: 0 / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001731/0.9948, allocations: 68.5 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.9948, allocations: 8 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.9948, allocations: 0 / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.9948, allocations: 0 / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.9952, allocations: 55.25 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.9952, allocations: 0 / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.9956, allocations: 47.91 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.9956, allocations: 0 / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.067e-05/0.9957, allocations: 113.6 kB / 1.017 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001606/0.9958, allocations: 68.88 kB / 1.017 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.9958, allocations: 0 / 1.017 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.9962, allocations: 88.56 kB / 1.017 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.9962, allocations: 0 / 1.017 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9962, allocations: 288 / 1.017 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.9962, allocations: 3.984 kB / 1.017 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.9966, allocations: 292.1 kB / 1.017 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.9966, allocations: 4 kB / 1.017 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004314/0.9971, allocations: 47.95 kB / 1.017 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.9971, allocations: 4 kB / 1.017 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.9971, allocations: 4 kB / 1.017 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.9971, allocations: 0 / 1.017 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9971, allocations: 0 / 1.017 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.9973, allocations: 161.5 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/0.9974, allocations: 77.11 kB / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.9974, allocations: 3.984 kB / 1.018 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/0.9977, allocations: 35.98 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.9978, allocations: 6.938 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.9978, allocations: 448 / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.745e-05/0.9978, allocations: 79.28 kB / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9978, allocations: 0 / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002428/0.9981, allocations: 23.92 kB / 1.018 GB, free: 1.602 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 (5): * Single equations (assignments): 5 * 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.0005417/0.9986, allocations: 0.697 MB / 1.019 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.9988, allocations: 23.48 kB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.9988, allocations: 4.062 kB / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.83e-05/0.9988, allocations: 15.56 kB / 1.019 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.999, allocations: 0 / 1.019 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006747/0.9996, allocations: 137.2 kB / 1.019 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.9999, allocations: 0.6845 MB / 1.019 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002185/1, allocations: 28 kB / 1.019 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/1, allocations: 7.438 kB / 1.019 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/1, allocations: 0 / 1.019 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/1.018, allocations: 1.127 MB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/1.018, allocations: 175.8 kB / 1.021 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.359/2.377, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)