Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",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.00151/0.00151, allocations: 107.7 kB / 16.27 MB, free: 6.352 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.001734/0.001734, allocations: 193.9 kB / 17.2 MB, free: 5.953 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.361/1.361, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7555/0.7555, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.91 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.362, allocations: 77.93 MB / 0.5673 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002463/0.3645, allocations: 1.417 MB / 0.5687 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006406/0.3652, allocations: 470.3 kB / 0.5691 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.231e-05/0.3652, allocations: 2.094 kB / 0.5691 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.473e-05/0.3653, allocations: 0.5156 kB / 0.5691 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.843e-05/0.3653, allocations: 6.844 kB / 0.5691 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.3655, allocations: 18.03 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.115e-05/0.3656, allocations: 30.72 kB / 0.5692 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.24e-05/0.3657, allocations: 5.078 kB / 0.5692 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.76e-05/0.3658, allocations: 9.719 kB / 0.5692 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.3658, allocations: 13.86 kB / 0.5692 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.3658, allocations: 7.703 kB / 0.5692 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.002e-05/0.3659, allocations: 22.97 kB / 0.5692 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.3659, allocations: 9.672 kB / 0.5692 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.3659, allocations: 8 kB / 0.5692 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.229e-05/0.366, allocations: 38.27 kB / 0.5693 GB, free: 31.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.366, allocations: 0.9688 kB / 0.5693 GB, free: 31.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.366, allocations: 1.031 kB / 0.5693 GB, free: 31.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.3661, allocations: 0 / 0.5693 GB, free: 31.41 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.00034/0.3664, allocations: 342.5 kB / 0.5696 GB, free: 31.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3664, allocations: 10.25 kB / 0.5696 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.3665, allocations: 33.06 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.3665, allocations: 3.125 kB / 0.5697 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.545e-05/0.3666, allocations: 175.4 kB / 0.5698 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3666, allocations: 2.5 kB / 0.5698 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.3666, allocations: 1.656 kB / 0.5698 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.3668, allocations: 57.88 kB / 0.5699 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3668, allocations: 0 / 0.5699 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.3668, allocations: 0 / 0.5699 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3669, allocations: 2.219 kB / 0.5699 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.367, allocations: 37.38 kB / 0.5699 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.3673, allocations: 249.3 kB / 0.5702 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.3675, allocations: 38.36 kB / 0.5702 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.429e-05/0.3676, allocations: 33.17 kB / 0.5702 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.3677, allocations: 81.2 kB / 0.5703 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.3677, allocations: 37.97 kB / 0.5703 GB, free: 30.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.3677, allocations: 1.094 kB / 0.5703 GB, free: 30.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003731/0.3681, allocations: 82.73 kB / 0.5704 GB, free: 30.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.3682, allocations: 51.41 kB / 0.5705 GB, free: 30.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.648e-05/0.3682, allocations: 105.2 kB / 0.5706 GB, free: 30.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.3682, allocations: 25.7 kB / 0.5706 GB, free: 30.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.3683, allocations: 83.05 kB / 0.5707 GB, free: 29.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.3683, allocations: 8.5 kB / 0.5707 GB, free: 29.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.3683, allocations: 17.72 kB / 0.5707 GB, free: 29.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.191e-05/0.3684, allocations: 318.6 kB / 0.571 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.159e-05/0.3685, allocations: 22.94 kB / 0.571 GB, free: 29.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.938e-05/0.3686, allocations: 14.53 kB / 0.571 GB, free: 29.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.3687, allocations: 39.41 kB / 0.5711 GB, free: 29.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3688, allocations: 1.219 kB / 0.5711 GB, free: 29.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002089/0.369, allocations: 74.7 kB / 0.5711 GB, free: 29.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.369, allocations: 5.375 kB / 0.5711 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.369, allocations: 0 / 0.5711 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.369, allocations: 0 / 0.5711 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.244e-05/0.3691, allocations: 9.484 kB / 0.5712 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3691, allocations: 1.344 kB / 0.5712 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.3692, allocations: 9.531 kB / 0.5712 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.3692, allocations: 5.828 kB / 0.5712 GB, free: 29.57 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 5.374e-05/0.3693, allocations: 112.6 kB / 0.5713 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.3693, allocations: 3.906 kB / 0.5713 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.3695, allocations: 72.41 kB / 0.5714 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3695, allocations: 0.7969 kB / 0.5714 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3696, allocations: 1.031 kB / 0.5714 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3696, allocations: 1.188 kB / 0.5714 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.3697, allocations: 160 kB / 0.5715 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3697, allocations: 4.125 kB / 0.5715 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/0.3698, allocations: 9.375 kB / 0.5715 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3698, allocations: 0 / 0.5715 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3698, allocations: 1.094 kB / 0.5715 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3698, allocations: 0 / 0.5715 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3698, allocations: 1.047 kB / 0.5715 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.37, allocations: 169.3 kB / 0.5717 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.3701, allocations: 83.39 kB / 0.5718 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.3701, allocations: 4.703 kB / 0.5718 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.3702, allocations: 7.438 kB / 0.5718 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.3702, allocations: 5.781 kB / 0.5718 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.3702, allocations: 2.703 kB / 0.5718 GB, free: 28.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.683e-05/0.3703, allocations: 81.16 kB / 0.5719 GB, free: 28.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3703, allocations: 0 / 0.5719 GB, free: 28.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.3705, allocations: 7.219 kB / 0.5719 GB, free: 28.89 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.0004458/0.371, allocations: 0.7069 MB / 0.5726 GB, free: 28.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.3712, allocations: 40.8 kB / 0.5726 GB, free: 28.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3712, allocations: 0.9375 kB / 0.5726 GB, free: 28.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.633e-05/0.3713, allocations: 17.7 kB / 0.5726 GB, free: 28.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.3716, allocations: 12.17 kB / 0.5726 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.372, allocations: 138.7 kB / 0.5728 GB, free: 28.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.3721, allocations: 0.6774 MB / 0.5734 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.338e-05/0.3721, allocations: 1.281 kB / 0.5734 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.3722, allocations: 11.72 kB / 0.5734 GB, free: 27.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3722, allocations: 1.312 kB / 0.5734 GB, free: 27.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.3892, allocations: 1.399 MB / 0.5748 GB, free: 27.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.7/9.089, allocations: 6.438 kB / 0.5748 GB, free: 27.01 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)