Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.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.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",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.001097/0.001097, allocations: 105.8 kB / 16.27 MB, free: 6.41 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.001675/0.001675, allocations: 184.6 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.301/1.301, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7301/0.7301, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 63.91 kB / 0.4912 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3257, allocations: 77.93 MB / 0.5673 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002371/0.3281, allocations: 1.449 MB / 0.5687 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003399/0.3284, allocations: 147.4 kB / 0.5688 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.3285, allocations: 0 / 0.5688 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.771e-05/0.3285, allocations: 4.734 kB / 0.5688 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.591e-05/0.3286, allocations: 6.656 kB / 0.5688 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.3288, allocations: 29.39 kB / 0.5689 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.362e-05/0.3289, allocations: 39.92 kB / 0.5689 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.329, allocations: 24.69 kB / 0.5689 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.046e-05/0.3291, allocations: 20.25 kB / 0.569 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.3291, allocations: 18.22 kB / 0.569 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.3291, allocations: 3.406 kB / 0.569 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.868e-05/0.3292, allocations: 38.5 kB / 0.569 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.3293, allocations: 10.48 kB / 0.569 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.3293, allocations: 18.59 kB / 0.569 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.3294, allocations: 61.77 kB / 0.5691 GB, free: 31.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3294, allocations: 2.188 kB / 0.5691 GB, free: 31.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3294, allocations: 0 / 0.5691 GB, free: 31.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3295, allocations: 0 / 0.5691 GB, free: 31.35 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003422/0.3298, allocations: 367.1 kB / 0.5695 GB, free: 30.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.3298, allocations: 10.5 kB / 0.5695 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.733e-05/0.3299, allocations: 41.11 kB / 0.5695 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.3309, allocations: 206.8 kB / 0.5697 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.067e-05/0.331, allocations: 169.3 kB / 0.5699 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.331, allocations: 9.859 kB / 0.5699 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.331, allocations: 6.969 kB / 0.5699 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005409/0.3316, allocations: 192.6 kB / 0.5701 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3316, allocations: 5.938 kB / 0.5701 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.3316, allocations: 1.375 kB / 0.5701 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3316, allocations: 0.7812 kB / 0.5701 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008527/0.3325, allocations: 284.6 kB / 0.5703 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008181/0.3333, allocations: 439.6 kB / 0.5708 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.3344, allocations: 285.4 kB / 0.571 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/0.3348, allocations: 109.3 kB / 0.5711 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3348, allocations: 0 / 0.5711 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.253e-05/0.3349, allocations: 36.78 kB / 0.5712 GB, free: 30.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.3349, allocations: 1.344 kB / 0.5712 GB, free: 30.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001142/0.336, allocations: 305.1 kB / 0.5715 GB, free: 30.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.336, allocations: 55.91 kB / 0.5715 GB, free: 30.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.842e-05/0.3361, allocations: 117.9 kB / 0.5716 GB, free: 29.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.3361, allocations: 26.41 kB / 0.5717 GB, free: 29.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.684e-05/0.3362, allocations: 91.06 kB / 0.5717 GB, free: 29.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.3362, allocations: 11.59 kB / 0.5718 GB, free: 29.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.3362, allocations: 15.72 kB / 0.5718 GB, free: 29.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.128e-05/0.3363, allocations: 322.2 kB / 0.5721 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.3367, allocations: 94.42 kB / 0.5722 GB, free: 29.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.337, allocations: 100.5 kB / 0.5723 GB, free: 29.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006715/0.3377, allocations: 168.5 kB / 0.5724 GB, free: 29.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3377, allocations: 0 / 0.5724 GB, free: 29.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007426/0.3385, allocations: 216.2 kB / 0.5726 GB, free: 29.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3385, allocations: 5 kB / 0.5726 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.3385, allocations: 0 / 0.5726 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3385, allocations: 2.578 kB / 0.5726 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.3388, allocations: 34.14 kB / 0.5727 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3388, allocations: 1.094 kB / 0.5727 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.339, allocations: 33.25 kB / 0.5727 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.339, allocations: 12.78 kB / 0.5727 GB, free: 29.34 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 (3): * Single equations (assignments): 3 * 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.106e-05/0.3391, allocations: 121.5 kB / 0.5728 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.3391, allocations: 2.688 kB / 0.5728 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.3391, allocations: 12.17 kB / 0.5728 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3392, allocations: 1.938 kB / 0.5728 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3392, allocations: 3.938 kB / 0.5728 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3392, allocations: 2.781 kB / 0.5729 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.3394, allocations: 215.7 kB / 0.5731 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3394, allocations: 0.9688 kB / 0.5731 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.3396, allocations: 33.64 kB / 0.5731 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3396, allocations: 5.641 kB / 0.5731 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3396, allocations: 2.281 kB / 0.5731 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3396, allocations: 0.5938 kB / 0.5731 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3396, allocations: 1.219 kB / 0.5731 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007622/0.3404, allocations: 316.1 kB / 0.5734 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.3404, allocations: 79.44 kB / 0.5735 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.3405, allocations: 5.828 kB / 0.5735 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.3407, allocations: 31.03 kB / 0.5735 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.3407, allocations: 3.672 kB / 0.5735 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.3408, allocations: 1.781 kB / 0.5735 GB, free: 28.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.973e-05/0.3408, allocations: 97.2 kB / 0.5736 GB, free: 28.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3408, allocations: 0 / 0.5736 GB, free: 28.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.341, allocations: 15.91 kB / 0.5736 GB, free: 28.63 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 (3): * Single equations (assignments): 3 * 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.000962/0.342, allocations: 0.8368 MB / 0.5744 GB, free: 27.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000815/0.3428, allocations: 201.2 kB / 0.5746 GB, free: 27.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3429, allocations: 0 / 0.5746 GB, free: 27.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.3432, allocations: 98.27 kB / 0.5747 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.3436, allocations: 12.05 kB / 0.5747 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.3469, allocations: 1.828 MB / 0.5765 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.347, allocations: 0.6875 MB / 0.5772 GB, free: 25.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.06e-05/0.3471, allocations: 23.91 kB / 0.5772 GB, free: 25.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.3472, allocations: 16.45 kB / 0.5772 GB, free: 25.91 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3472, allocations: 0 / 0.5772 GB, free: 25.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.3651, allocations: 1.92 MB / 0.5791 GB, free: 25.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.087/7.452, allocations: 12.98 kB / 0.5791 GB, free: 25.11 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin_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_SmoothMin.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)