Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_10_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.005002/0.005002, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001346/0.001346, allocations: 195 kB / 16.67 MB, free: 5.934 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 64.09 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7534/0.7553, allocations: 151.6 MB / 1.166 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001811/0.7572, allocations: 0.603 MB / 1.167 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004222/0.7576, allocations: 157.5 kB / 1.167 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.7577, allocations: 7.938 kB / 1.167 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.7577, allocations: 3.938 kB / 1.167 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.19e-05/0.7577, allocations: 0 / 1.167 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.7581, allocations: 39.89 kB / 1.167 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.247e-05/0.7581, allocations: 8 kB / 1.167 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.7582, allocations: 3.984 kB / 1.167 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.422e-05/0.7582, allocations: 15.92 kB / 1.167 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.7583, allocations: 4 kB / 1.167 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.7583, allocations: 0 / 1.167 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.112e-05/0.7584, allocations: 39.95 kB / 1.167 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.7584, allocations: 8 kB / 1.167 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.7584, allocations: 11.92 kB / 1.167 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.554e-05/0.7585, allocations: 27.84 kB / 1.167 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7585, allocations: 3.984 kB / 1.167 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7585, allocations: 0 / 1.167 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.7586, allocations: 4 kB / 1.167 GB, free: 2.949 MB / 0.8887 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.0004401/0.759, allocations: 331.1 kB / 1.167 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.7591, allocations: 12.62 kB / 1.167 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.7591, allocations: 34.75 kB / 1.167 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.7591, allocations: 4.938 kB / 1.167 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.7593, allocations: 160.4 kB / 1.168 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.7593, allocations: 4.375 kB / 1.168 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.7593, allocations: 384 / 1.168 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.7595, allocations: 42.25 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.7595, allocations: 3.938 kB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.7595, allocations: 7.984 kB / 1.168 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.7595, allocations: 4 kB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.216e-05/0.7596, allocations: 11.94 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.7598, allocations: 169.7 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.7599, allocations: 42.56 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.76, allocations: 20.97 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.7601, allocations: 81.11 kB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.7601, allocations: 30.56 kB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.7601, allocations: 0 / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.001355/0.7615, allocations: 0.4925 MB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.7615, allocations: 55.41 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.7616, allocations: 93.86 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.7616, allocations: 25.7 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.7617, allocations: 88.08 kB / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.7617, allocations: 23.78 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.7618, allocations: 17.72 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.7619, allocations: 323 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.156e-05/0.762, allocations: 11.98 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.373e-05/0.762, allocations: 11.98 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.695e-05/0.7621, allocations: 45.06 kB / 1.169 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.7621, allocations: 0 / 1.169 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001187/0.7622, allocations: 81.45 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.7622, allocations: 10.81 kB / 1.169 GB, free: 440 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.7623, allocations: 0 / 1.169 GB, free: 440 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.7623, allocations: 0 / 1.169 GB, free: 440 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.776e-05/0.7624, allocations: 16 kB / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.7624, allocations: 3.984 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.7624, allocations: 0 / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.7624, allocations: 0 / 1.169 GB, free: 420 kB / 0.8887 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.676e-05/0.7625, allocations: 113.8 kB / 1.169 GB, free: 296 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.7625, allocations: 7.875 kB / 1.169 GB, free: 288 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.7627, allocations: 81.64 kB / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.7627, allocations: 0 / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.7627, allocations: 4 kB / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.7627, allocations: 0 / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.7629, allocations: 165.7 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.7629, allocations: 4 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.003e-05/0.763, allocations: 15.88 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.763, allocations: 4 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.763, allocations: 0 / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7631, allocations: 0 / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.7631, allocations: 3.938 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.7633, allocations: 113.1 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.7633, allocations: 89.06 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.7633, allocations: 4.062 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.45e-05/0.7634, allocations: 4 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.7634, allocations: 4 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.7634, allocations: 4 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.368e-05/0.7635, allocations: 79.27 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.457e-06/0.7635, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002316/0.7637, allocations: 36.03 kB / 1.17 GB, free: 15.58 MB / 0.9044 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.0006292/0.7644, allocations: 0.6826 MB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.7645, allocations: 43.91 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7645, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.7646, allocations: 23.98 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.7647, allocations: 12.06 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.766, allocations: 1.199 MB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.7664, allocations: 0.6807 MB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.133e-05/0.7665, allocations: 4 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.7665, allocations: 19.42 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of SimCode: time 2.505e-06/0.7665, allocations: 0 / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.7949, allocations: 1.818 MB / 1.174 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.803, allocations: 18.42 kB / 1.174 GB, free: 11.11 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)