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.001489/0.001489, allocations: 103.6 kB / 16.27 MB, free: 5.965 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.001722/0.001722, allocations: 190.1 kB / 17.2 MB, free: 5.594 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.424/1.424, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7469/0.7469, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002158, allocations: 63.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3394, allocations: 77.92 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002369/0.3418, allocations: 1.452 MB / 0.5687 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007658/0.3426, allocations: 0.5609 MB / 0.5692 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.396e-05/0.3426, allocations: 0 / 0.5692 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.409e-05/0.3427, allocations: 4.734 kB / 0.5692 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.643e-05/0.3427, allocations: 10.8 kB / 0.5693 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.343, allocations: 45.33 kB / 0.5693 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.467e-05/0.3431, allocations: 31.75 kB / 0.5693 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.163e-05/0.3432, allocations: 9.391 kB / 0.5693 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.3432, allocations: 12.56 kB / 0.5694 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.842e-05/0.3433, allocations: 14.62 kB / 0.5694 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.3433, allocations: 2.375 kB / 0.5694 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.3434, allocations: 55.69 kB / 0.5694 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.3434, allocations: 7.75 kB / 0.5694 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.3435, allocations: 14.81 kB / 0.5694 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.3436, allocations: 62.06 kB / 0.5695 GB, free: 31.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3436, allocations: 0 / 0.5695 GB, free: 31.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3436, allocations: 0 / 0.5695 GB, free: 31.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.3436, allocations: 2.391 kB / 0.5695 GB, free: 31.12 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.0003402/0.344, allocations: 354.7 kB / 0.5698 GB, free: 30.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.344, allocations: 10.25 kB / 0.5699 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.344e-05/0.3441, allocations: 36.66 kB / 0.5699 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.384e-05/0.3441, allocations: 3.438 kB / 0.5699 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.207e-05/0.3442, allocations: 168.9 kB / 0.5701 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.3442, allocations: 2.125 kB / 0.5701 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.3442, allocations: 1.562 kB / 0.5701 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.3443, allocations: 46.86 kB / 0.5701 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3443, allocations: 0 / 0.5701 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.3443, allocations: 2.188 kB / 0.5701 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3444, allocations: 0 / 0.5701 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.221e-05/0.3444, allocations: 22 kB / 0.5701 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.3447, allocations: 258.3 kB / 0.5704 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.766e-05/0.3448, allocations: 31.88 kB / 0.5704 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.314e-05/0.3448, allocations: 14.11 kB / 0.5704 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006944/0.3455, allocations: 482 kB / 0.5709 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.3456, allocations: 32.53 kB / 0.5709 GB, free: 29.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3456, allocations: 0.5938 kB / 0.5709 GB, free: 29.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002167/0.3458, allocations: 66.78 kB / 0.571 GB, free: 29.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.3458, allocations: 57.69 kB / 0.571 GB, free: 29.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.553e-05/0.3459, allocations: 107.2 kB / 0.5711 GB, free: 29.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.3459, allocations: 27.27 kB / 0.5712 GB, free: 29.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.3459, allocations: 87.25 kB / 0.5712 GB, free: 29.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.346, allocations: 6.172 kB / 0.5712 GB, free: 29.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.346, allocations: 13.06 kB / 0.5713 GB, free: 29.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.753e-05/0.346, allocations: 327.2 kB / 0.5716 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.139e-05/0.3461, allocations: 7.812 kB / 0.5716 GB, free: 28.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.3461, allocations: 12.2 kB / 0.5716 GB, free: 28.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.124e-05/0.3462, allocations: 27.48 kB / 0.5716 GB, free: 28.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3462, allocations: 0 / 0.5716 GB, free: 28.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001062/0.3463, allocations: 59.91 kB / 0.5717 GB, free: 28.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3463, allocations: 6.906 kB / 0.5717 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3463, allocations: 0 / 0.5717 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3464, allocations: 0.9375 kB / 0.5717 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.562e-05/0.3464, allocations: 10.02 kB / 0.5717 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3464, allocations: 2.094 kB / 0.5717 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.3465, allocations: 6.922 kB / 0.5717 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.3465, allocations: 5.531 kB / 0.5717 GB, free: 28.89 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.565e-05/0.3465, allocations: 116.3 kB / 0.5718 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.3466, allocations: 3.672 kB / 0.5718 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.3467, allocations: 62.27 kB / 0.5719 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3467, allocations: 1.812 kB / 0.5719 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3467, allocations: 0 / 0.5719 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3467, allocations: 1 kB / 0.5719 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.3469, allocations: 168.1 kB / 0.572 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3469, allocations: 1.125 kB / 0.572 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.3469, allocations: 6.109 kB / 0.572 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.3469, allocations: 0 / 0.572 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.3469, allocations: 1.781 kB / 0.572 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3469, allocations: 0 / 0.572 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3469, allocations: 2.266 kB / 0.572 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.3471, allocations: 155.8 kB / 0.5722 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.3471, allocations: 79.03 kB / 0.5723 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.3471, allocations: 2.172 kB / 0.5723 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.867e-05/0.3472, allocations: 5.609 kB / 0.5723 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.3472, allocations: 5.969 kB / 0.5723 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.3472, allocations: 0 / 0.5723 GB, free: 28.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.083e-05/0.3473, allocations: 89.28 kB / 0.5724 GB, free: 28.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3473, allocations: 1.375 kB / 0.5724 GB, free: 28.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.3475, allocations: 16.55 kB / 0.5724 GB, free: 28.2 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.0003567/0.3479, allocations: 0.7018 MB / 0.5731 GB, free: 27.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.348, allocations: 28.94 kB / 0.5731 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.348, allocations: 1.594 kB / 0.5731 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.485e-05/0.3481, allocations: 14.56 kB / 0.5731 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.3483, allocations: 3.625 kB / 0.5731 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.3487, allocations: 160.8 kB / 0.5733 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.3488, allocations: 0.6798 MB / 0.5739 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.137e-05/0.3488, allocations: 2.375 kB / 0.5739 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.3489, allocations: 15.52 kB / 0.574 GB, free: 26.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3489, allocations: 0 / 0.574 GB, free: 26.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8852/1.234, allocations: 1.581 MB / 0.5755 GB, free: 26.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/13.2, allocations: 12.58 kB / 0.5755 GB, free: 26.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)