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.001116/0.001116, allocations: 102.7 kB / 16.27 MB, free: 5.957 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.001131/0.001131, allocations: 186.5 kB / 17.19 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.259/1.259, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7203/0.7203, allocations: 122.8 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 67.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3574, allocations: 77.93 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002812/0.3603, allocations: 1.419 MB / 0.5687 GB, free: 31.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000735/0.361, allocations: 461.2 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.3611, allocations: 1.094 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.3611, allocations: 5.562 kB / 0.5691 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.956e-05/0.3612, allocations: 9.922 kB / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.3614, allocations: 14.97 kB / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.573e-05/0.3615, allocations: 30.38 kB / 0.5692 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.702e-05/0.3616, allocations: 9.078 kB / 0.5692 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.432e-05/0.3616, allocations: 12.58 kB / 0.5692 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.3617, allocations: 16.38 kB / 0.5692 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.3617, allocations: 2.5 kB / 0.5692 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.463e-05/0.3618, allocations: 22.12 kB / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.3618, allocations: 2.547 kB / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.3618, allocations: 11.41 kB / 0.5692 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.131e-05/0.3619, allocations: 38.73 kB / 0.5693 GB, free: 31.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3619, allocations: 0.5625 kB / 0.5693 GB, free: 31.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3619, allocations: 1.281 kB / 0.5693 GB, free: 31.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.362, allocations: 2.781 kB / 0.5693 GB, free: 31.34 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.0003405/0.3623, allocations: 340.1 kB / 0.5696 GB, free: 30.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3623, allocations: 10.03 kB / 0.5696 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.513e-05/0.3624, allocations: 35.81 kB / 0.5697 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.364e-05/0.3624, allocations: 2.844 kB / 0.5697 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.425e-05/0.3625, allocations: 173.2 kB / 0.5698 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.3625, allocations: 4.312 kB / 0.5698 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.3625, allocations: 1.5 kB / 0.5698 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.3627, allocations: 55.44 kB / 0.5699 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3627, allocations: 0 / 0.5699 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3627, allocations: 4.938 kB / 0.5699 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3627, allocations: 1.406 kB / 0.5699 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.3629, allocations: 34.41 kB / 0.5699 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.3631, allocations: 251.1 kB / 0.5702 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.3633, allocations: 38.97 kB / 0.5702 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.443e-05/0.3634, allocations: 24.52 kB / 0.5702 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.3635, allocations: 83.7 kB / 0.5703 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.3635, allocations: 36.91 kB / 0.5703 GB, free: 30.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3635, allocations: 0 / 0.5703 GB, free: 30.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000347/0.3639, allocations: 86.84 kB / 0.5704 GB, free: 30.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.3639, allocations: 51.92 kB / 0.5705 GB, free: 30.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.675e-05/0.364, allocations: 108 kB / 0.5706 GB, free: 30.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.864e-06/0.364, allocations: 26.83 kB / 0.5706 GB, free: 29.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.655e-05/0.364, allocations: 82.27 kB / 0.5707 GB, free: 29.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.364, allocations: 5.75 kB / 0.5707 GB, free: 29.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.3641, allocations: 18.2 kB / 0.5707 GB, free: 29.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.213e-05/0.3641, allocations: 320.7 kB / 0.571 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.249e-05/0.3642, allocations: 18.67 kB / 0.571 GB, free: 29.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-05/0.3643, allocations: 16 kB / 0.571 GB, free: 29.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.3644, allocations: 39.02 kB / 0.5711 GB, free: 29.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3644, allocations: 0 / 0.5711 GB, free: 29.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001914/0.3646, allocations: 77.59 kB / 0.5711 GB, free: 29.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3647, allocations: 5.703 kB / 0.5712 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3647, allocations: 0 / 0.5712 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3647, allocations: 2.375 kB / 0.5712 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.902e-05/0.3648, allocations: 8.438 kB / 0.5712 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3648, allocations: 1.156 kB / 0.5712 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.3648, allocations: 7.641 kB / 0.5712 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.3649, allocations: 0 / 0.5712 GB, free: 29.5 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.385e-05/0.3649, allocations: 112.6 kB / 0.5713 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.3649, allocations: 4.469 kB / 0.5713 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.3652, allocations: 76.52 kB / 0.5714 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3652, allocations: 0 / 0.5714 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3652, allocations: 3.281 kB / 0.5714 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3652, allocations: 0 / 0.5714 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.3653, allocations: 159.5 kB / 0.5715 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3653, allocations: 1.625 kB / 0.5715 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.765e-05/0.3654, allocations: 11.25 kB / 0.5715 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3654, allocations: 3.938 kB / 0.5715 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3654, allocations: 1.625 kB / 0.5715 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3654, allocations: 3.031 kB / 0.5715 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3654, allocations: 0 / 0.5715 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.3656, allocations: 164.1 kB / 0.5717 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.625e-05/0.3657, allocations: 86.03 kB / 0.5718 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.3657, allocations: 2.75 kB / 0.5718 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.3658, allocations: 9.031 kB / 0.5718 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.3658, allocations: 3.109 kB / 0.5718 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.3658, allocations: 7.625 kB / 0.5718 GB, free: 28.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.27e-05/0.3658, allocations: 84.69 kB / 0.5719 GB, free: 28.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3658, allocations: 0.5312 kB / 0.5719 GB, free: 28.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.3661, allocations: 8.281 kB / 0.5719 GB, free: 28.82 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.0004144/0.3665, allocations: 0.6981 MB / 0.5726 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.3667, allocations: 36.09 kB / 0.5726 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3667, allocations: 4.906 kB / 0.5726 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.683e-05/0.3668, allocations: 21.17 kB / 0.5726 GB, free: 28.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.3671, allocations: 12.27 kB / 0.5726 GB, free: 28.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.3675, allocations: 138.4 kB / 0.5728 GB, free: 27.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.3676, allocations: 0.6774 MB / 0.5734 GB, free: 27.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.337e-05/0.3677, allocations: 1.906 kB / 0.5734 GB, free: 27.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.3677, allocations: 10 kB / 0.5734 GB, free: 27.28 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3677, allocations: 1.062 kB / 0.5734 GB, free: 27.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.3835, allocations: 1.399 MB / 0.5748 GB, free: 26.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.385, allocations: 8.875 kB / 0.5748 GB, free: 26.94 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside_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_SmoothHeaviside.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)