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.0009008/0.0009008, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006008/0.006008, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.4 MB / 222.4 MB, free: 5.789 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 1.706/1.706, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005428/0.0005428, allocations: 14.72 kB / 0.6744 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2588, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001855/0.2607, allocations: 1.195 MB / 0.7892 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2617, allocations: 0.5951 MB / 0.7897 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.2618, allocations: 4 kB / 0.7897 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.2618, allocations: 0 / 0.7897 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.479e-05/0.2619, allocations: 7.922 kB / 0.7897 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.2621, allocations: 31.92 kB / 0.7898 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.088e-05/0.2622, allocations: 23.92 kB / 0.7898 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.592e-05/0.2623, allocations: 11.98 kB / 0.7898 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.515e-05/0.2624, allocations: 15.92 kB / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.699e-05/0.2624, allocations: 11.92 kB / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.2625, allocations: 3.938 kB / 0.7898 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.2626, allocations: 51.97 kB / 0.7899 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.2626, allocations: 11.97 kB / 0.7899 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.2626, allocations: 29.64 kB / 0.7899 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.2628, allocations: 64.14 kB / 0.79 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2628, allocations: 3.938 kB / 0.79 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.444e-06/0.2628, allocations: 4 kB / 0.79 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.2628, allocations: 0 / 0.79 GB, free: 9.422 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.0004885/0.2633, allocations: 347.4 kB / 0.7903 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.2634, allocations: 15.97 kB / 0.7903 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.677e-05/0.2634, allocations: 30.75 kB / 0.7904 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.2635, allocations: 4.844 kB / 0.7904 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.2637, allocations: 168.3 kB / 0.7905 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.2637, allocations: 384 / 0.7905 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.2637, allocations: 4.359 kB / 0.7905 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.2639, allocations: 57.81 kB / 0.7906 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.2639, allocations: 3.984 kB / 0.7906 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.2639, allocations: 0 / 0.7906 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2639, allocations: 0 / 0.7906 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.264, allocations: 23.98 kB / 0.7906 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.2645, allocations: 268.8 kB / 0.7909 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.605e-05/0.2646, allocations: 26.58 kB / 0.7909 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.2646, allocations: 16.91 kB / 0.7909 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008752/0.2655, allocations: 0.4975 MB / 0.7914 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.2655, allocations: 30.56 kB / 0.7914 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.2655, allocations: 0 / 0.7914 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002456/0.2658, allocations: 69.62 kB / 0.7915 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.2658, allocations: 55.39 kB / 0.7916 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.752e-05/0.2659, allocations: 114 kB / 0.7917 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.2659, allocations: 25.7 kB / 0.7917 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.266, allocations: 84.14 kB / 0.7918 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.266, allocations: 7.891 kB / 0.7918 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.266, allocations: 9.719 kB / 0.7918 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2662, allocations: 318.8 kB / 0.7921 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.884e-05/0.2662, allocations: 19.98 kB / 0.7921 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/0.2663, allocations: 12 kB / 0.7921 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.358e-05/0.2664, allocations: 32.84 kB / 0.7922 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.2664, allocations: 3.938 kB / 0.7922 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001231/0.2665, allocations: 61.61 kB / 0.7922 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2665, allocations: 4 kB / 0.7922 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2665, allocations: 4.094 kB / 0.7922 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2665, allocations: 0 / 0.7922 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/0.2666, allocations: 11.94 kB / 0.7922 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2666, allocations: 0 / 0.7922 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.266e-05/0.2667, allocations: 3.984 kB / 0.7922 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.2667, allocations: 4 kB / 0.7922 GB, free: 6.797 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.56e-05/0.2668, allocations: 109.8 kB / 0.7923 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.2668, allocations: 7.906 kB / 0.7924 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.267, allocations: 73.14 kB / 0.7924 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.267, allocations: 0 / 0.7924 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.267, allocations: 0 / 0.7924 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.267, allocations: 0 / 0.7924 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.2672, allocations: 165.6 kB / 0.7926 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2672, allocations: 0 / 0.7926 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/0.2673, allocations: 8 kB / 0.7926 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2673, allocations: 32 / 0.7926 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.2673, allocations: 4 kB / 0.7926 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2673, allocations: 0 / 0.7926 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2673, allocations: 4 kB / 0.7926 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.2676, allocations: 151.5 kB / 0.7927 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.2676, allocations: 81.02 kB / 0.7928 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.2676, allocations: 7.969 kB / 0.7928 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.815e-05/0.2677, allocations: 4 kB / 0.7928 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.2677, allocations: 7.984 kB / 0.7928 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.2678, allocations: 8 kB / 0.7928 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.091e-05/0.2678, allocations: 79.28 kB / 0.7929 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2678, allocations: 0 / 0.7929 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002457/0.2681, allocations: 19.98 kB / 0.7929 GB, free: 5.977 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005609/0.2686, allocations: 0.7007 MB / 0.7936 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.2688, allocations: 31.86 kB / 0.7937 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2688, allocations: 8.094 kB / 0.7937 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.753e-05/0.2689, allocations: 11.98 kB / 0.7937 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.2691, allocations: 7.938 kB / 0.7937 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.2695, allocations: 174.2 kB / 0.7938 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.2698, allocations: 0.6809 MB / 0.7945 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.317e-05/0.2698, allocations: 4.062 kB / 0.7945 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.2699, allocations: 15.44 kB / 0.7945 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2699, allocations: 0 / 0.7945 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.2872, allocations: 1.388 MB / 0.7959 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.2874, allocations: 191 kB / 0.7961 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.126, allocations: 0 / 0.7961 GB, free: 2.723 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/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)