Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.621/1.621, allocations: 285.4 MB / 298 MB, free: 6.016 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.0009734/0.0009732, allocations: 176.8 kB / 366.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.1 MB / 0.6248 GB, free: 7.727 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.0008856/0.0008858, allocations: 86.47 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.859e-05/4.861e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7745/0.7746, allocations: 115.3 MB / 0.971 GB, free: 77.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2127/0.9873, allocations: 138.7 MB / 1.106 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.9877, allocations: 75.95 kB / 1.107 GB, free: 13 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004571/0.9923, allocations: 1.378 MB / 1.108 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.326e-06/0.9923, allocations: 0 / 1.108 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.9923, allocations: 0 / 1.108 GB, free: 11.64 MB / 0.7136 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.0004258/0.9928, allocations: 353.8 kB / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.9928, allocations: 12.03 kB / 1.108 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.9929, allocations: 34.06 kB / 1.108 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.9929, allocations: 5.125 kB / 1.108 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.9931, allocations: 167 kB / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.9931, allocations: 1.625 kB / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.9931, allocations: 8 kB / 1.108 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.9933, allocations: 37.34 kB / 1.108 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.9933, allocations: 0 / 1.108 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.9933, allocations: 4 kB / 1.108 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.9933, allocations: 0 / 1.108 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.911e-05/0.9934, allocations: 19.91 kB / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.9938, allocations: 252.9 kB / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.955e-05/0.9939, allocations: 23.73 kB / 1.109 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/0.9939, allocations: 19.62 kB / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007235/0.9946, allocations: 470 kB / 1.109 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.9947, allocations: 31.12 kB / 1.109 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/0.9947, allocations: 1.719 kB / 1.109 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001863/0.9949, allocations: 49.55 kB / 1.109 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.9949, allocations: 55.39 kB / 1.109 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/0.995, allocations: 100.3 kB / 1.109 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.995, allocations: 25.7 kB / 1.109 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.9951, allocations: 93.77 kB / 1.11 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.9951, allocations: 7.844 kB / 1.11 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.9952, allocations: 0 / 1.11 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.9953, allocations: 322.8 kB / 1.11 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.9953, allocations: 4 kB / 1.11 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.696e-05/0.9953, allocations: 8 kB / 1.11 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.9954, allocations: 7.5 kB / 1.11 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9954, allocations: 0 / 1.11 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.562e-05/0.9955, allocations: 49.62 kB / 1.11 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.9955, allocations: 4 kB / 1.11 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.9955, allocations: 0 / 1.11 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.9956, allocations: 0 / 1.11 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.277e-05/0.9956, allocations: 11.28 kB / 1.11 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.9957, allocations: 0 / 1.11 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.658e-05/0.9957, allocations: 11.17 kB / 1.11 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-06/0.9957, allocations: 0.75 kB / 1.11 GB, free: 9.227 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 7.705e-05/0.9958, allocations: 108.9 kB / 1.11 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.9958, allocations: 7.906 kB / 1.11 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.996, allocations: 49.28 kB / 1.11 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.996, allocations: 4 kB / 1.11 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.996, allocations: 5.594 kB / 1.11 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.996, allocations: 0 / 1.11 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.9962, allocations: 169.6 kB / 1.11 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9962, allocations: 0 / 1.11 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.853e-05/0.9963, allocations: 8 kB / 1.11 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.9963, allocations: 0 / 1.11 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.9963, allocations: 0 / 1.11 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.9963, allocations: 3.984 kB / 1.11 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.9963, allocations: 1.688 kB / 1.11 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.9965, allocations: 139.5 kB / 1.11 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.9965, allocations: 89 kB / 1.111 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.9966, allocations: 2.688 kB / 1.111 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.42e-05/0.9966, allocations: 8 kB / 1.111 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.9967, allocations: 0 / 1.111 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.9967, allocations: 3.938 kB / 1.111 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.893e-05/0.9967, allocations: 87.27 kB / 1.111 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9967, allocations: 0 / 1.111 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000251/0.997, allocations: 27.97 kB / 1.111 GB, free: 8.426 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.0006012/0.9976, allocations: 0.6851 MB / 1.111 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.831e-05/0.9977, allocations: 19.92 kB / 1.111 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9977, allocations: 0 / 1.111 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.723e-05/0.9978, allocations: 8.094 kB / 1.111 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.9979, allocations: 10.91 kB / 1.111 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.9983, allocations: 105 kB / 1.111 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.9986, allocations: 0.6848 MB / 1.112 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.569e-05/0.9987, allocations: 3.281 kB / 1.112 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.9987, allocations: 7.438 kB / 1.112 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of SimCode: time 4.51e-07/0.9987, allocations: 0 / 1.112 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/1.011, allocations: 1.357 MB / 1.113 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/1.012, allocations: 158.2 kB / 1.114 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.564, allocations: 6.172 kB / 1.114 GB, free: 5.43 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)