Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential",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.001618/0.001619, allocations: 103.9 kB / 16.27 MB, free: 6.047 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.001528/0.001528, allocations: 182.7 kB / 17.19 MB, free: 5.688 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.33/1.33, 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.745/0.745, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 67.89 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3303, allocations: 77.93 MB / 0.5673 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.00293/0.3333, allocations: 1.417 MB / 0.5687 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004573/0.3338, allocations: 191.9 kB / 0.5688 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.78e-05/0.3338, allocations: 2.781 kB / 0.5689 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.3338, allocations: 8.438 kB / 0.5689 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.587e-05/0.3339, allocations: 0 / 0.5689 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.3342, allocations: 47 kB / 0.5689 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.656e-05/0.3343, allocations: 19.94 kB / 0.5689 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.769e-05/0.3344, allocations: 9.25 kB / 0.5689 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.573e-05/0.3344, allocations: 10.78 kB / 0.5689 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.336e-05/0.3345, allocations: 13.25 kB / 0.569 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.3345, allocations: 6 kB / 0.569 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.815e-05/0.3346, allocations: 38.75 kB / 0.569 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.3346, allocations: 4.641 kB / 0.569 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.3346, allocations: 10.39 kB / 0.569 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.3348, allocations: 39.77 kB / 0.569 GB, free: 31.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3348, allocations: 0 / 0.569 GB, free: 31.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3348, allocations: 1.25 kB / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3348, allocations: 0 / 0.5691 GB, free: 31.39 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.0003989/0.3352, allocations: 348.9 kB / 0.5694 GB, free: 31.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3353, allocations: 9.156 kB / 0.5694 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.843e-05/0.3353, allocations: 32.66 kB / 0.5694 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.3353, allocations: 1.969 kB / 0.5694 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.344e-05/0.3354, allocations: 170.7 kB / 0.5696 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3354, allocations: 7.312 kB / 0.5696 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.3355, allocations: 1.969 kB / 0.5696 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.3357, allocations: 50.22 kB / 0.5696 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3357, allocations: 7.875 kB / 0.5697 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.3357, allocations: 1 kB / 0.5697 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.3357, allocations: 0 / 0.5697 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.3359, allocations: 39.25 kB / 0.5697 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.3362, allocations: 245.3 kB / 0.5699 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.3363, allocations: 41.5 kB / 0.57 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.108e-05/0.3364, allocations: 24.75 kB / 0.57 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.537e-05/0.3365, allocations: 85.38 kB / 0.5701 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.3365, allocations: 36.53 kB / 0.5701 GB, free: 30.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3365, allocations: 0.9375 kB / 0.5701 GB, free: 30.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003913/0.3369, allocations: 81.28 kB / 0.5702 GB, free: 30.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.337, allocations: 53.22 kB / 0.5702 GB, free: 30.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.885e-05/0.337, allocations: 104.4 kB / 0.5703 GB, free: 30.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.3371, allocations: 25.7 kB / 0.5704 GB, free: 30.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/0.3371, allocations: 83.39 kB / 0.5704 GB, free: 29.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.3371, allocations: 9.219 kB / 0.5704 GB, free: 29.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.3372, allocations: 13.41 kB / 0.5705 GB, free: 29.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.386e-05/0.3372, allocations: 314.2 kB / 0.5708 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.699e-05/0.3373, allocations: 18.09 kB / 0.5708 GB, free: 29.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-05/0.3374, allocations: 15.95 kB / 0.5708 GB, free: 29.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.3376, allocations: 42.64 kB / 0.5708 GB, free: 29.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3376, allocations: 3.938 kB / 0.5708 GB, free: 29.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002012/0.3378, allocations: 74.62 kB / 0.5709 GB, free: 29.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3378, allocations: 4.469 kB / 0.5709 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3378, allocations: 2.453 kB / 0.5709 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3378, allocations: 0 / 0.5709 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.418e-05/0.3379, allocations: 13.39 kB / 0.5709 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.338, allocations: 1.375 kB / 0.5709 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.338, allocations: 6.703 kB / 0.5709 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.338, allocations: 1.406 kB / 0.5709 GB, free: 29.56 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 6.431e-05/0.3381, allocations: 112.8 kB / 0.571 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.3381, allocations: 2.828 kB / 0.571 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.3384, allocations: 77.27 kB / 0.5711 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3384, allocations: 0 / 0.5711 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3384, allocations: 2.125 kB / 0.5711 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3384, allocations: 1.438 kB / 0.5711 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.3386, allocations: 161.1 kB / 0.5713 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3386, allocations: 0 / 0.5713 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.428e-05/0.3387, allocations: 8.953 kB / 0.5713 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.3387, allocations: 2.438 kB / 0.5713 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.3387, allocations: 0.5156 kB / 0.5713 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3387, allocations: 0 / 0.5713 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3387, allocations: 10.16 kB / 0.5713 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.339, allocations: 169 kB / 0.5715 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.339, allocations: 83.48 kB / 0.5715 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.339, allocations: 1.859 kB / 0.5715 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.3391, allocations: 5.797 kB / 0.5715 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.3391, allocations: 10.59 kB / 0.5716 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.3392, allocations: 1.578 kB / 0.5716 GB, free: 28.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.608e-05/0.3392, allocations: 81.62 kB / 0.5716 GB, free: 28.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3392, allocations: 0 / 0.5716 GB, free: 28.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.3394, allocations: 11.52 kB / 0.5716 GB, free: 28.87 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.0005318/0.34, allocations: 0.7035 MB / 0.5723 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.3402, allocations: 45.06 kB / 0.5724 GB, free: 28.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3402, allocations: 1.188 kB / 0.5724 GB, free: 28.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.854e-05/0.3403, allocations: 16.98 kB / 0.5724 GB, free: 28.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.3406, allocations: 9.438 kB / 0.5724 GB, free: 28.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.341, allocations: 135.7 kB / 0.5725 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.3411, allocations: 0.6783 MB / 0.5732 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.274e-05/0.3412, allocations: 2.188 kB / 0.5732 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.3412, allocations: 8.625 kB / 0.5732 GB, free: 27.34 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3412, allocations: 0 / 0.5732 GB, free: 27.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.3573, allocations: 1.415 MB / 0.5746 GB, free: 27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.996/7.353, allocations: 10.16 kB / 0.5746 GB, free: 27 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential_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_SmoothExponential.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)