Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.852/1.852, allocations: 289.7 MB / 302.2 MB, free: 2.121 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.001173/0.001173, allocations: 179.3 kB / 371.6 MB, free: 3.398 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.908/1.908, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001133/0.001133, allocations: 96.11 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.507e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2796, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7822/1.062, allocations: 139.7 MB / 1.116 GB, free: 44.15 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/1.062, allocations: 73.84 kB / 1.116 GB, free: 44.12 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003916/1.066, allocations: 1.381 MB / 1.118 GB, free: 43.22 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.683e-06/1.066, allocations: 4 kB / 1.118 GB, free: 43.22 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.271e-06/1.066, allocations: 0 / 1.118 GB, free: 43.22 MB / 0.7448 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.0002798/1.066, allocations: 349.6 kB / 1.118 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.066, allocations: 12.03 kB / 1.118 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.838e-05/1.066, allocations: 30.56 kB / 1.118 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/1.067, allocations: 11.72 kB / 1.118 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.23e-05/1.067, allocations: 171.7 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/1.067, allocations: 3.875 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/1.067, allocations: 4 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/1.067, allocations: 35.23 kB / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.067, allocations: 0.5156 kB / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/1.067, allocations: 4 kB / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.067, allocations: 0 / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.484e-05/1.067, allocations: 16.52 kB / 1.118 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/1.067, allocations: 254.6 kB / 1.119 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.384e-05/1.067, allocations: 29.31 kB / 1.119 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/1.067, allocations: 15.02 kB / 1.119 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005447/1.068, allocations: 472.7 kB / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/1.068, allocations: 34.56 kB / 1.119 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/1.068, allocations: 0 / 1.119 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001746/1.068, allocations: 49.2 kB / 1.119 GB, free: 41.6 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/1.068, allocations: 51.41 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.033e-05/1.068, allocations: 101.2 kB / 1.119 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/1.068, allocations: 25.7 kB / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/1.068, allocations: 91.17 kB / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/1.068, allocations: 7.844 kB / 1.119 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/1.068, allocations: 0 / 1.119 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.489e-05/1.068, allocations: 322.2 kB / 1.12 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/1.068, allocations: 4 kB / 1.12 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.304e-05/1.068, allocations: 7.5 kB / 1.12 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.152e-05/1.068, allocations: 11.61 kB / 1.12 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/1.068, allocations: 0 / 1.12 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.259e-05/1.068, allocations: 41.27 kB / 1.12 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/1.068, allocations: 4 kB / 1.12 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.068, allocations: 3.328 kB / 1.12 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/1.068, allocations: 4.094 kB / 1.12 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.394e-05/1.069, allocations: 8 kB / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/1.069, allocations: 3.938 kB / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.327e-05/1.069, allocations: 5.078 kB / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/1.069, allocations: 7.469 kB / 1.12 GB, free: 40.91 MB / 0.7448 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 4.234e-05/1.069, allocations: 105.6 kB / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/1.069, allocations: 3.906 kB / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/1.069, allocations: 55.88 kB / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/1.069, allocations: 0 / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/1.069, allocations: 4 kB / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/1.069, allocations: 0 / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/1.069, allocations: 163.3 kB / 1.12 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.069, allocations: 2.156 kB / 1.12 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/1.069, allocations: 11.94 kB / 1.12 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/1.069, allocations: 0 / 1.12 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/1.069, allocations: 0 / 1.12 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/1.069, allocations: 0 / 1.12 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.069, allocations: 7.969 kB / 1.12 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.668e-05/1.069, allocations: 140.7 kB / 1.12 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.355e-05/1.069, allocations: 85.58 kB / 1.12 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/1.069, allocations: 0.7969 kB / 1.12 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/1.069, allocations: 3.469 kB / 1.12 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/1.069, allocations: 4 kB / 1.12 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/1.069, allocations: 0.5625 kB / 1.12 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.596e-05/1.069, allocations: 90.56 kB / 1.12 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.81e-07/1.069, allocations: 0.9375 kB / 1.12 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000225/1.07, allocations: 26.45 kB / 1.12 GB, free: 40.18 MB / 0.7448 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.0003071/1.07, allocations: 0.6959 MB / 1.121 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.207e-05/1.07, allocations: 15.09 kB / 1.121 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/1.07, allocations: 0 / 1.121 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.898e-05/1.07, allocations: 7.062 kB / 1.121 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/1.07, allocations: 5.781 kB / 1.121 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/1.07, allocations: 116.9 kB / 1.121 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/1.071, allocations: 0.6803 MB / 1.122 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.521e-05/1.071, allocations: 5.797 kB / 1.122 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/1.071, allocations: 14.62 kB / 1.122 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/1.071, allocations: 0 / 1.122 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/1.082, allocations: 1.336 MB / 1.123 GB, free: 37.9 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/1.083, allocations: 145.3 kB / 1.123 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.712, allocations: 0 / 1.123 GB, free: 37.68 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)