Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.00655/0.00655, allocations: 99.09 kB / 15.73 MB, free: 6.441 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.001332/0.001332, allocations: 196.4 kB / 16.67 MB, free: 6.352 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.911/2.911, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 63.91 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3336, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001702/0.3354, allocations: 0.6108 MB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003972/0.3358, allocations: 157.3 kB / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.3358, allocations: 0 / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.308e-05/0.3359, allocations: 0 / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.326e-05/0.3359, allocations: 0 / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.3362, allocations: 47.83 kB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.132e-05/0.3363, allocations: 11.98 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.3363, allocations: 8 kB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.97e-05/0.3363, allocations: 7.938 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.652e-05/0.3364, allocations: 7.984 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.3364, allocations: 7.984 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.799e-05/0.3365, allocations: 31.97 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.3365, allocations: 0 / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.3366, allocations: 7.938 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.3367, allocations: 35.88 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3367, allocations: 0 / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3367, allocations: 0 / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.3367, allocations: 4 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004957/0.3372, allocations: 335.4 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3373, allocations: 8.031 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.3373, allocations: 30.75 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.3374, allocations: 8.938 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.3375, allocations: 168.3 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3375, allocations: 4.375 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.3376, allocations: 4.375 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.3377, allocations: 46.25 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3377, allocations: 3.938 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3377, allocations: 0 / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3378, allocations: 0 / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.61e-05/0.3378, allocations: 15.98 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/0.338, allocations: 161.6 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.3381, allocations: 54.5 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/0.3382, allocations: 16.98 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.3383, allocations: 81.11 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.3384, allocations: 42.55 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3384, allocations: 0 / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.001362/0.3397, allocations: 488.5 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.3398, allocations: 51.41 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/0.3399, allocations: 97.8 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.3399, allocations: 33.83 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.3399, allocations: 84.08 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.34, allocations: 23.78 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.34, allocations: 21.72 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3402, allocations: 314.8 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.189e-05/0.3402, allocations: 12 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.4e-05/0.3403, allocations: 15.98 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.897e-05/0.3403, allocations: 32.86 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3403, allocations: 4 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001461/0.3405, allocations: 77.56 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3405, allocations: 4 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3405, allocations: 0 / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3405, allocations: 3.938 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.3406, allocations: 15.98 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3407, allocations: 0 / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.594e-05/0.3407, allocations: 4 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.3407, allocations: 4 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB 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 (8): * Single equations (assignments): 8 * 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 8.99e-05/0.3408, allocations: 114.4 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.3408, allocations: 7.938 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.341, allocations: 77.89 kB / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.341, allocations: 4 kB / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.341, allocations: 0 / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.341, allocations: 3.984 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.3412, allocations: 165.7 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3412, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.297e-05/0.3413, allocations: 15.94 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3413, allocations: 4 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.3413, allocations: 3.984 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3413, allocations: 0 / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.3413, allocations: 4.078 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.3415, allocations: 121 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.3416, allocations: 81.05 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.3416, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.46e-05/0.3417, allocations: 4.031 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.3417, allocations: 16.05 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.3417, allocations: 0 / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.752e-05/0.3418, allocations: 75.28 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3418, allocations: 7.875 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002237/0.342, allocations: 27.94 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0006339/0.3426, allocations: 0.6944 MB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.3428, allocations: 35.98 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3428, allocations: 0 / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.918e-05/0.3428, allocations: 23.92 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.343, allocations: 4 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.3442, allocations: 1.199 MB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.3445, allocations: 0.6768 MB / 1.227 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.927e-05/0.3446, allocations: 8.062 kB / 1.227 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.3446, allocations: 15.42 kB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3446, allocations: 0 / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.3738, allocations: 1.817 MB / 1.228 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.397, allocations: 10.61 kB / 1.228 GB, free: 5.496 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)