Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_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.001194/0.001193, allocations: 100.6 kB / 16.27 MB, free: 5.961 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.001223/0.001223, allocations: 188.5 kB / 17.19 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7508/0.7508, allocations: 122.8 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 71.88 kB / 0.4912 GB, free: 7.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3036, allocations: 77.92 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002464/0.3061, allocations: 1.442 MB / 0.5687 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000798/0.3069, allocations: 0.5629 MB / 0.5692 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.634e-05/0.307, allocations: 0.5625 kB / 0.5692 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.307, allocations: 3.938 kB / 0.5692 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.866e-05/0.3071, allocations: 7.047 kB / 0.5692 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.3073, allocations: 53.73 kB / 0.5693 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.826e-05/0.3074, allocations: 31.2 kB / 0.5693 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.832e-05/0.3075, allocations: 5.266 kB / 0.5693 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.24e-05/0.3076, allocations: 19.33 kB / 0.5694 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.3076, allocations: 15.8 kB / 0.5694 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.3076, allocations: 2.75 kB / 0.5694 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.3077, allocations: 54.33 kB / 0.5694 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.3078, allocations: 2.062 kB / 0.5694 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.3078, allocations: 12.22 kB / 0.5694 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.3079, allocations: 66.7 kB / 0.5695 GB, free: 31.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3079, allocations: 1.125 kB / 0.5695 GB, free: 31.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3079, allocations: 0.5625 kB / 0.5695 GB, free: 31.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.308, allocations: 0 / 0.5695 GB, free: 31.15 MB / 446.1 MB 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.0003039/0.3083, allocations: 356.7 kB / 0.5698 GB, free: 30.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3083, allocations: 10.5 kB / 0.5699 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.455e-05/0.3083, allocations: 32.34 kB / 0.5699 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.3084, allocations: 3.188 kB / 0.5699 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.663e-05/0.3084, allocations: 172.5 kB / 0.5701 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.3085, allocations: 1.312 kB / 0.5701 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.3085, allocations: 6.391 kB / 0.5701 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.3086, allocations: 46.98 kB / 0.5701 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.3086, allocations: 4.531 kB / 0.5701 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.3086, allocations: 2.406 kB / 0.5701 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3086, allocations: 0 / 0.5701 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.174e-05/0.3087, allocations: 20.47 kB / 0.5701 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.309, allocations: 254.7 kB / 0.5704 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.439e-05/0.309, allocations: 33.45 kB / 0.5704 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.44e-05/0.3091, allocations: 16.98 kB / 0.5704 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007168/0.3098, allocations: 473.5 kB / 0.5709 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.3099, allocations: 37.83 kB / 0.5709 GB, free: 29.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3099, allocations: 0 / 0.5709 GB, free: 29.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002161/0.3101, allocations: 63.16 kB / 0.571 GB, free: 29.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.3101, allocations: 52.28 kB / 0.571 GB, free: 29.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.576e-05/0.3102, allocations: 109.7 kB / 0.5711 GB, free: 29.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.174e-06/0.3102, allocations: 25.7 kB / 0.5711 GB, free: 29.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.3102, allocations: 86.81 kB / 0.5712 GB, free: 29.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.3102, allocations: 5.875 kB / 0.5712 GB, free: 29.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.3103, allocations: 19.41 kB / 0.5713 GB, free: 29.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.818e-05/0.3103, allocations: 316.9 kB / 0.5716 GB, free: 29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.239e-05/0.3104, allocations: 12.17 kB / 0.5716 GB, free: 28.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.3104, allocations: 15.94 kB / 0.5716 GB, free: 28.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.3e-05/0.3105, allocations: 27.67 kB / 0.5716 GB, free: 28.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3105, allocations: 8.656 kB / 0.5716 GB, free: 28.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001087/0.3106, allocations: 55.94 kB / 0.5717 GB, free: 28.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3106, allocations: 6.062 kB / 0.5717 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.3106, allocations: 0 / 0.5717 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.3106, allocations: 1.375 kB / 0.5717 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/0.3107, allocations: 10.53 kB / 0.5717 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.3107, allocations: 1.625 kB / 0.5717 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.284e-05/0.3108, allocations: 7.422 kB / 0.5717 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.3108, allocations: 1.031 kB / 0.5717 GB, free: 28.92 MB / 446.1 MB 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 4.653e-05/0.3108, allocations: 116.9 kB / 0.5718 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.3109, allocations: 3.906 kB / 0.5718 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.311, allocations: 61.42 kB / 0.5719 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.311, allocations: 2.156 kB / 0.5719 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.311, allocations: 0 / 0.5719 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.311, allocations: 0 / 0.5719 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.3112, allocations: 163 kB / 0.572 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3112, allocations: 1.828 kB / 0.572 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.3112, allocations: 6.25 kB / 0.572 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3112, allocations: 0.6094 kB / 0.572 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.3112, allocations: 2 kB / 0.572 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3112, allocations: 0.7031 kB / 0.572 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3112, allocations: 2.156 kB / 0.572 GB, free: 28.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.3114, allocations: 161.2 kB / 0.5722 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.684e-05/0.3114, allocations: 79.14 kB / 0.5723 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.3114, allocations: 1.125 kB / 0.5723 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.043e-05/0.3115, allocations: 2.672 kB / 0.5723 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.3115, allocations: 2.469 kB / 0.5723 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3115, allocations: 1.938 kB / 0.5723 GB, free: 28.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.826e-05/0.3115, allocations: 93.33 kB / 0.5724 GB, free: 28.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3116, allocations: 0.5312 kB / 0.5724 GB, free: 28.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000233/0.3118, allocations: 18.66 kB / 0.5724 GB, free: 28.23 MB / 446.1 MB 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.0003099/0.3121, allocations: 0.706 MB / 0.5731 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.3122, allocations: 27.53 kB / 0.5731 GB, free: 27.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3122, allocations: 1.25 kB / 0.5731 GB, free: 27.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.315e-05/0.3123, allocations: 10.03 kB / 0.5731 GB, free: 27.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.3125, allocations: 1.906 kB / 0.5731 GB, free: 27.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.3129, allocations: 165.3 kB / 0.5733 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.686e-05/0.313, allocations: 0.6793 MB / 0.5739 GB, free: 26.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.236e-05/0.313, allocations: 10.94 kB / 0.5739 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.313, allocations: 17.36 kB / 0.574 GB, free: 26.67 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.313, allocations: 0 / 0.574 GB, free: 26.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.329, allocations: 1.574 MB / 0.5755 GB, free: 26.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.083/7.412, allocations: 8.672 kB / 0.5755 GB, free: 26.33 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)