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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.423/3.423, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.4/3.4, allocations: 292.6 MB / 0.5497 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001178, allocations: 17.38 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5452/0.5464, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002574/0.5491, allocations: 1.168 MB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.5506, allocations: 0.5604 MB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.322e-05/0.5507, allocations: 0 / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.5507, allocations: 0 / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.987e-05/0.5508, allocations: 3.984 kB / 0.7889 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.5512, allocations: 39.84 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.5513, allocations: 19.97 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.5515, allocations: 8 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.5516, allocations: 19.91 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.586e-05/0.5518, allocations: 7.938 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.5518, allocations: 0 / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.552, allocations: 47.95 kB / 0.7891 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.552, allocations: 3.984 kB / 0.7891 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.5521, allocations: 25.7 kB / 0.7891 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.5522, allocations: 48.16 kB / 0.7891 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.5523, allocations: 4 kB / 0.7891 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.817e-06/0.5523, allocations: 7.938 kB / 0.7891 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.5523, allocations: 0 / 0.7891 GB, free: 9.867 MB / 0.6075 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.0006839/0.553, allocations: 343.2 kB / 0.7895 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.234e-05/0.5531, allocations: 8.031 kB / 0.7895 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.302e-05/0.5531, allocations: 34.55 kB / 0.7895 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.5532, allocations: 11.91 kB / 0.7895 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.5534, allocations: 175 kB / 0.7897 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.5534, allocations: 0 / 0.7897 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.5535, allocations: 0 / 0.7897 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.5537, allocations: 45.69 kB / 0.7897 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.5537, allocations: 4 kB / 0.7897 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.5537, allocations: 0 / 0.7897 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.5538, allocations: 0 / 0.7897 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.5539, allocations: 31.91 kB / 0.7898 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/0.5544, allocations: 248.9 kB / 0.79 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.5546, allocations: 34.56 kB / 0.79 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.5557, allocations: 0.4897 MB / 0.7905 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.5557, allocations: 34.56 kB / 0.7905 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.5557, allocations: 4 kB / 0.7906 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003697/0.5561, allocations: 69.53 kB / 0.7906 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.5562, allocations: 59.39 kB / 0.7907 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.5563, allocations: 105.8 kB / 0.7908 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.5563, allocations: 29.69 kB / 0.7908 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.5564, allocations: 84.27 kB / 0.7909 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.5565, allocations: 11.91 kB / 0.7909 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.5565, allocations: 0 / 0.7909 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.5566, allocations: 310.8 kB / 0.7912 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.328e-05/0.5567, allocations: 15.98 kB / 0.7912 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.975e-05/0.5568, allocations: 8 kB / 0.7912 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.833e-05/0.5569, allocations: 23.98 kB / 0.7912 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.5569, allocations: 0 / 0.7912 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001695/0.557, allocations: 57.62 kB / 0.7913 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.5571, allocations: 4 kB / 0.7913 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.5571, allocations: 0 / 0.7913 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.5571, allocations: 4 kB / 0.7913 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.5572, allocations: 7.984 kB / 0.7913 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.5573, allocations: 0 / 0.7913 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.5573, allocations: 8.031 kB / 0.7913 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.5574, allocations: 3.953 kB / 0.7913 GB, free: 7.32 MB / 0.6075 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 () * Number of clocked 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 0.0001262/0.5575, allocations: 109.8 kB / 0.7914 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.5575, allocations: 4 kB / 0.7914 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.5578, allocations: 69.05 kB / 0.7915 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5578, allocations: 32 / 0.7915 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5578, allocations: 4 kB / 0.7915 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.5579, allocations: 3.938 kB / 0.7915 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.5581, allocations: 173.6 kB / 0.7917 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5581, allocations: 0 / 0.7917 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.5582, allocations: 7.984 kB / 0.7917 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5582, allocations: 0 / 0.7917 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.5582, allocations: 4 kB / 0.7917 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5582, allocations: 0 / 0.7917 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5583, allocations: 0 / 0.7917 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.5585, allocations: 159.5 kB / 0.7918 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.5586, allocations: 77.11 kB / 0.7919 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.5586, allocations: 7.984 kB / 0.7919 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.376e-05/0.5587, allocations: 0 / 0.7919 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.5588, allocations: 4 kB / 0.7919 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.5588, allocations: 0 / 0.7919 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.74e-05/0.5589, allocations: 95.23 kB / 0.792 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5589, allocations: 0 / 0.792 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004141/0.5593, allocations: 16 kB / 0.792 GB, free: 6.496 MB / 0.6075 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 () * Number of clocked 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.00069/0.56, allocations: 0.7123 MB / 0.7927 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001869/0.5602, allocations: 27.97 kB / 0.7927 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5602, allocations: 4 kB / 0.7927 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.363e-05/0.5603, allocations: 15.94 kB / 0.7928 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.5605, allocations: 7.875 kB / 0.7928 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006359/0.5612, allocations: 168 kB / 0.7929 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.5615, allocations: 0.6809 MB / 0.7936 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.803e-05/0.5616, allocations: 7.984 kB / 0.7936 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.5617, allocations: 11.44 kB / 0.7936 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.5617, allocations: 0 / 0.7936 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.5896, allocations: 1.371 MB / 0.795 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000387/0.59, allocations: 175.4 kB / 0.7951 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.932/3.522, allocations: 0 / 0.7951 GB, free: 3.273 MB / 0.6075 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) Environment - environmentSimulation: