Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.00666/0.00666, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.001417/0.001417, allocations: 192.9 kB / 16.67 MB, free: 5.973 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 284.3 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9468/0.9468, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 99.86 kB / 0.681 GB, free: 7.395 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.469/0.471, allocations: 86.97 MB / 0.766 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001782/0.4728, allocations: 0.5939 MB / 0.7665 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004367/0.4733, allocations: 159.5 kB / 0.7667 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.312e-05/0.4733, allocations: 3.938 kB / 0.7667 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.13e-05/0.4733, allocations: 0 / 0.7667 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.684e-05/0.4734, allocations: 3.938 kB / 0.7667 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.4737, allocations: 39.89 kB / 0.7667 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.255e-05/0.4738, allocations: 12 kB / 0.7667 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.4738, allocations: 0 / 0.7667 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.31e-05/0.4738, allocations: 11.97 kB / 0.7668 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.542e-05/0.4739, allocations: 11.94 kB / 0.7668 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.4739, allocations: 0 / 0.7668 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.474, allocations: 35.97 kB / 0.7668 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.474, allocations: 3.984 kB / 0.7668 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.4741, allocations: 11.94 kB / 0.7668 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.4742, allocations: 27.75 kB / 0.7668 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4742, allocations: 4 kB / 0.7668 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4742, allocations: 0 / 0.7668 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.4742, allocations: 3.938 kB / 0.7668 GB, free: 2.906 MB / 0.5294 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.0003807/0.4746, allocations: 332.8 kB / 0.7672 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.4746, allocations: 8.031 kB / 0.7672 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/0.4747, allocations: 34.75 kB / 0.7672 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.4747, allocations: 4.891 kB / 0.7672 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.4748, allocations: 168.3 kB / 0.7674 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.4749, allocations: 8.375 kB / 0.7674 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.4749, allocations: 8.312 kB / 0.7674 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.475, allocations: 46.25 kB / 0.7674 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4751, allocations: 3.938 kB / 0.7674 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.4751, allocations: 0 / 0.7674 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4751, allocations: 4 kB / 0.7674 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.628e-05/0.4751, allocations: 15.98 kB / 0.7675 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.4753, allocations: 153.7 kB / 0.7676 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.862e-05/0.4754, allocations: 46.56 kB / 0.7676 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.4755, allocations: 28.95 kB / 0.7677 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.4756, allocations: 85.09 kB / 0.7678 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.4756, allocations: 34.56 kB / 0.7678 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.4756, allocations: 0 / 0.7678 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.001216/0.4768, allocations: 484 kB / 0.7682 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.4769, allocations: 59.34 kB / 0.7683 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.47e-05/0.477, allocations: 101.9 kB / 0.7684 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.477, allocations: 25.7 kB / 0.7684 GB, free: 1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.34e-05/0.477, allocations: 80.14 kB / 0.7685 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.477, allocations: 23.81 kB / 0.7685 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.4771, allocations: 25.7 kB / 0.7686 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.4772, allocations: 310.8 kB / 0.7688 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.247e-05/0.4772, allocations: 16.42 kB / 0.7689 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.4773, allocations: 12.12 kB / 0.7689 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.511e-05/0.4773, allocations: 44.83 kB / 0.7689 GB, free: 488 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4773, allocations: 0 / 0.7689 GB, free: 488 kB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001062/0.4774, allocations: 73.56 kB / 0.769 GB, free: 408 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.4775, allocations: 8 kB / 0.769 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4775, allocations: 0 / 0.769 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.4775, allocations: 0 / 0.769 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.293e-05/0.4776, allocations: 16 kB / 0.769 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.4776, allocations: 0 / 0.769 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.31e-05/0.4776, allocations: 0 / 0.769 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.4776, allocations: 7.984 kB / 0.769 GB, free: 376 kB / 0.5294 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 6.873e-05/0.4777, allocations: 116.2 kB / 0.7691 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.4777, allocations: 11.89 kB / 0.7691 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.4779, allocations: 89.75 kB / 0.7692 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4779, allocations: 0 / 0.7692 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4779, allocations: 4 kB / 0.7692 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4779, allocations: 0 / 0.7692 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.4781, allocations: 173.6 kB / 0.7694 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4781, allocations: 0 / 0.7694 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.151e-05/0.4782, allocations: 19.94 kB / 0.7694 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4782, allocations: 0 / 0.7694 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.4782, allocations: 0 / 0.7694 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4782, allocations: 0 / 0.7694 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4782, allocations: 0 / 0.7694 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.4784, allocations: 117.1 kB / 0.7695 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.4784, allocations: 85 kB / 0.7696 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.4784, allocations: 3.984 kB / 0.7696 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.402e-05/0.4785, allocations: 8.062 kB / 0.7696 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.4785, allocations: 4 kB / 0.7696 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.4785, allocations: 4 kB / 0.7696 GB, free: 15.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.614e-05/0.4786, allocations: 75.28 kB / 0.7697 GB, free: 15.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4786, allocations: 0 / 0.7697 GB, free: 15.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002237/0.4788, allocations: 35.92 kB / 0.7697 GB, free: 15.53 MB / 0.545 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.0005172/0.4793, allocations: 0.6827 MB / 0.7704 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001123/0.4794, allocations: 39.97 kB / 0.7704 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4795, allocations: 0 / 0.7704 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.4795, allocations: 23.94 kB / 0.7705 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.4796, allocations: 12.59 kB / 0.7705 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009713/0.4806, allocations: 1.18 MB / 0.7716 GB, free: 13.49 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.4808, allocations: 0.6845 MB / 0.7723 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.481e-05/0.4809, allocations: 12.44 kB / 0.7723 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.4809, allocations: 11.44 kB / 0.7723 GB, free: 12.76 MB / 0.545 GB Notification: Performance of SimCode: time 1.91e-07/0.4809, allocations: 0 / 0.7723 GB, free: 12.76 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.4991, allocations: 1.838 MB / 0.7741 GB, free: 11.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.313/7.812, allocations: 16.12 kB / 0.7741 GB, free: 11.09 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)