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.001412/0.001412, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001602/0.001603, allocations: 191.8 kB / 16.13 MB, free: 6.66 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.749/1.749, allocations: 205.1 MB / 222 MB, free: 4.75 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.687/1.687, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001431/0.00143, allocations: 70.5 kB / 0.6709 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2588, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002589/0.2615, allocations: 1.514 MB / 0.7843 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.2625, allocations: 0.6144 MB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.091e-05/0.2625, allocations: 0 / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.2626, allocations: 0 / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.823e-05/0.2626, allocations: 3.938 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.2628, allocations: 43.89 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.792e-05/0.2629, allocations: 23.92 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.778e-05/0.263, allocations: 11.98 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.463e-05/0.2631, allocations: 11.92 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.581e-05/0.2631, allocations: 11.94 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.2631, allocations: 0 / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.2633, allocations: 55.95 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.2633, allocations: 3.984 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.2633, allocations: 19.92 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.2635, allocations: 64.08 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2635, allocations: 0 / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.31e-07/0.2635, allocations: 0 / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.2635, allocations: 0 / 0.7851 GB, free: 11.54 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.0003917/0.2639, allocations: 347.5 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2639, allocations: 12.02 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.264, allocations: 34.69 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.264, allocations: 8.844 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2641, allocations: 172.2 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.2641, allocations: 4.375 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.2642, allocations: 4.375 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.2643, allocations: 41.81 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.2643, allocations: 0 / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.2643, allocations: 4 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.2643, allocations: 3.984 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.792e-05/0.2644, allocations: 15.98 kB / 0.7857 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.2647, allocations: 260.9 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.866e-05/0.2648, allocations: 30.56 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.507e-05/0.2649, allocations: 16.92 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007813/0.2656, allocations: 473.4 kB / 0.7865 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.2657, allocations: 34.56 kB / 0.7865 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2657, allocations: 0 / 0.7865 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002236/0.2659, allocations: 65.61 kB / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.2659, allocations: 51.41 kB / 0.7866 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.266, allocations: 118 kB / 0.7867 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.2661, allocations: 25.7 kB / 0.7868 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.2661, allocations: 84.14 kB / 0.7868 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.2661, allocations: 11.83 kB / 0.7869 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.2662, allocations: 21.72 kB / 0.7869 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2663, allocations: 314.8 kB / 0.7872 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.122e-05/0.2663, allocations: 11.98 kB / 0.7872 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.254e-05/0.2664, allocations: 11.94 kB / 0.7872 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.28e-05/0.2664, allocations: 28.91 kB / 0.7872 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2664, allocations: 0 / 0.7872 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001083/0.2666, allocations: 61.53 kB / 0.7873 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.2666, allocations: 7.984 kB / 0.7873 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.2666, allocations: 0 / 0.7873 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.2666, allocations: 0 / 0.7873 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.181e-05/0.2667, allocations: 4 kB / 0.7873 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.2667, allocations: 32 / 0.7873 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/0.2667, allocations: 8 kB / 0.7873 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.2667, allocations: 0 / 0.7873 GB, free: 8.977 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 6.762e-05/0.2668, allocations: 121.8 kB / 0.7874 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.2668, allocations: 0 / 0.7874 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.267, allocations: 69.14 kB / 0.7875 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.267, allocations: 0 / 0.7875 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.267, allocations: 0 / 0.7875 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.267, allocations: 8.031 kB / 0.7875 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.2672, allocations: 161.6 kB / 0.7876 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2672, allocations: 0 / 0.7876 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.115e-05/0.2672, allocations: 7.984 kB / 0.7877 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.2673, allocations: 0 / 0.7877 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.2673, allocations: 4 kB / 0.7877 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2673, allocations: 0 / 0.7877 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2673, allocations: 0 / 0.7877 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.2674, allocations: 163.4 kB / 0.7878 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.2675, allocations: 77.11 kB / 0.7879 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.2675, allocations: 4 kB / 0.7879 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.654e-05/0.2676, allocations: 3.938 kB / 0.7879 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.2676, allocations: 0 / 0.7879 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.2676, allocations: 7.984 kB / 0.7879 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.78e-05/0.2676, allocations: 83.28 kB / 0.788 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2677, allocations: 0 / 0.788 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002168/0.2679, allocations: 12 kB / 0.788 GB, free: 8.164 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.0005747/0.2685, allocations: 0.7046 MB / 0.7887 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.2686, allocations: 27.92 kB / 0.7887 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2686, allocations: 4.094 kB / 0.7887 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.245e-05/0.2686, allocations: 19.92 kB / 0.7887 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.2688, allocations: 3.938 kB / 0.7887 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.2692, allocations: 164.5 kB / 0.7889 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.2696, allocations: 0.6809 MB / 0.7896 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2e-05/0.2696, allocations: 4.062 kB / 0.7896 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.2696, allocations: 15.42 kB / 0.7896 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2696, allocations: 0 / 0.7896 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009632/0.2792, allocations: 1.449 MB / 0.791 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.2795, allocations: 189.3 kB / 0.7912 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.923, allocations: 3.938 kB / 0.7912 GB, free: 4.832 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)