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.672/1.672, allocations: 289.9 MB / 297.4 MB, free: 6.336 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.001157/0.001156, allocations: 172.9 kB / 366.7 MB, free: 1.633 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.883/1.883, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.0009777/0.0009775, allocations: 96.66 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.085e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8005/0.8006, allocations: 116.3 MB / 0.9733 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2234/1.024, allocations: 139 MB / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/1.024, allocations: 72.56 kB / 1.109 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004413/1.029, allocations: 1.387 MB / 1.111 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.803e-06/1.029, allocations: 0 / 1.111 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.504e-06/1.029, allocations: 0.9688 kB / 1.111 GB, free: 9.66 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.0003794/1.029, allocations: 351.3 kB / 1.111 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/1.029, allocations: 8.031 kB / 1.111 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/1.029, allocations: 12.23 kB / 1.111 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/1.03, allocations: 163.7 kB / 1.111 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/1.03, allocations: 0 / 1.111 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/1.03, allocations: 4.812 kB / 1.111 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.176e-05/1.03, allocations: 15.92 kB / 1.111 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.324e-05/1.03, allocations: 38.3 kB / 1.111 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.03, allocations: 2.156 kB / 1.111 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/1.03, allocations: 0 / 1.111 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/1.03, allocations: 5.266 kB / 1.111 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/1.03, allocations: 226.8 kB / 1.111 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.755e-05/1.03, allocations: 26.58 kB / 1.111 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.529e-05/1.03, allocations: 10.58 kB / 1.111 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007023/1.031, allocations: 476.2 kB / 1.112 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/1.031, allocations: 35.81 kB / 1.112 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/1.031, allocations: 0 / 1.112 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.003246/1.034, allocations: 0.5496 MB / 1.112 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/1.034, allocations: 51.41 kB / 1.112 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/1.034, allocations: 103.8 kB / 1.113 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/1.034, allocations: 25.7 kB / 1.113 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/1.034, allocations: 84.14 kB / 1.113 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/1.035, allocations: 7.844 kB / 1.113 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/1.035, allocations: 0 / 1.113 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.035, allocations: 330.2 kB / 1.113 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/1.035, allocations: 4.031 kB / 1.113 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.72e-05/1.035, allocations: 8 kB / 1.113 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003124/1.038, allocations: 0.5074 MB / 1.113 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.038, allocations: 4 kB / 1.113 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.003067/1.041, allocations: 0.548 MB / 1.114 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/1.041, allocations: 4.938 kB / 1.114 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/1.041, allocations: 0 / 1.114 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/1.041, allocations: 8.031 kB / 1.114 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.077e-05/1.041, allocations: 4 kB / 1.114 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/1.041, allocations: 0 / 1.114 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.875e-05/1.041, allocations: 4 kB / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/1.041, allocations: 6.609 kB / 1.114 GB, free: 5.816 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 9.946e-05/1.041, allocations: 110.6 kB / 1.114 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003088/1.044, allocations: 0.5518 MB / 1.115 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/1.045, allocations: 0 / 1.115 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003114/1.048, allocations: 0.5597 MB / 1.115 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/1.048, allocations: 0 / 1.115 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.048, allocations: 4 kB / 1.115 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.048, allocations: 0 / 1.115 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/1.048, allocations: 142.2 kB / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.048, allocations: 0 / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.039e-05/1.048, allocations: 11.98 kB / 1.115 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.279e-06/1.048, allocations: 0 / 1.115 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/1.048, allocations: 4.031 kB / 1.115 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.048, allocations: 0 / 1.115 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.048, allocations: 0 / 1.115 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003085/1.051, allocations: 0.6512 MB / 1.116 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/1.051, allocations: 77.11 kB / 1.116 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/1.051, allocations: 0 / 1.116 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.108e-05/1.051, allocations: 4 kB / 1.116 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/1.051, allocations: 5.797 kB / 1.116 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/1.051, allocations: 0 / 1.116 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.159e-05/1.051, allocations: 87.28 kB / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.3e-07/1.051, allocations: 0 / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002481/1.052, allocations: 23.97 kB / 1.116 GB, free: 3.504 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.003465/1.055, allocations: 1.197 MB / 1.117 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.575e-05/1.055, allocations: 15.94 kB / 1.117 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.055, allocations: 0 / 1.117 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.482e-05/1.055, allocations: 8 kB / 1.117 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/1.055, allocations: 7.938 kB / 1.117 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/1.056, allocations: 110 kB / 1.117 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/1.056, allocations: 0.6808 MB / 1.118 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.438e-05/1.056, allocations: 7.906 kB / 1.118 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/1.056, allocations: 15.42 kB / 1.118 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/1.056, allocations: 0 / 1.118 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/1.078, allocations: 1.04 MB / 1.119 GB, free: 384 kB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/1.078, allocations: 133.4 kB / 1.119 GB, free: 188 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/2.561, allocations: 0 / 1.119 GB, free: 188 kB / 0.7136 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)