Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008594/0.0008594, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8939/0.8939, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.745/1.745, allocations: 377.9 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 0.981 GB, free: 1.395 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.756e-05, allocations: 5.375 kB / 0.981 GB, free: 1.391 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001379/0.001407, allocations: 0.6072 MB / 0.9816 GB, free: 0.7852 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0003516/0.001759, allocations: 143.5 kB / 0.9818 GB, free: 0.6445 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.001784, allocations: 0 / 0.9818 GB, free: 0.6445 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.001802, allocations: 0 / 0.9818 GB, free: 0.6445 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 2.152e-05/0.001823, allocations: 4 kB / 0.9818 GB, free: 0.6406 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.002139, allocations: 43.77 kB / 0.9818 GB, free: 0.5977 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 5.491e-05/0.002194, allocations: 19.97 kB / 0.9818 GB, free: 0.5781 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.002237, allocations: 0 / 0.9818 GB, free: 0.5781 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 3.757e-05/0.002275, allocations: 11.98 kB / 0.9818 GB, free: 0.5664 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 6.824e-05/0.002343, allocations: 7.938 kB / 0.9818 GB, free: 0.5586 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.002356, allocations: 4 kB / 0.9818 GB, free: 0.5547 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 6.982e-05/0.002426, allocations: 35.94 kB / 0.9819 GB, free: 0.5195 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.002443, allocations: 8 kB / 0.9819 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.002458, allocations: 0 / 0.9819 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.002573, allocations: 39.88 kB / 0.9819 GB, free: 484 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.002575, allocations: 0 / 0.9819 GB, free: 484 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.052e-06/0.002576, allocations: 0 / 0.9819 GB, free: 484 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.002581, allocations: 0 / 0.9819 GB, free: 484 kB / 0.8855 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.00031/0.00289, allocations: 258.3 kB / 0.9822 GB, free: 192 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.002931, allocations: 8.031 kB / 0.9822 GB, free: 184 kB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.921e-05/0.00296, allocations: 38.73 kB / 0.9822 GB, free: 136 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.566e-05/0.002986, allocations: 8.938 kB / 0.9822 GB, free: 128 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.682e-05/0.003063, allocations: 101.8 kB / 0.9823 GB, free: 0 / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.003088, allocations: 4.422 kB / 0.9823 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.003107, allocations: 384 / 0.9823 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.003214, allocations: 75.78 kB / 0.9824 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.00322, allocations: 192 / 0.9824 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.003229, allocations: 384 / 0.9824 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.003235, allocations: 8.125 kB / 0.9824 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.867e-05/0.003274, allocations: 11.98 kB / 0.9824 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.0034, allocations: 128.8 kB / 0.9825 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.003792, allocations: 46.62 kB / 0.9826 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.003819, allocations: 20.92 kB / 0.9826 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.891e-05/0.003888, allocations: 4 kB / 0.9826 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.003909, allocations: 42.48 kB / 0.9826 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.00391, allocations: 0 / 0.9826 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0008714/0.004781, allocations: 419.3 kB / 0.983 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.004806, allocations: 51.41 kB / 0.9831 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.112e-05/0.004848, allocations: 89.86 kB / 0.9832 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.988e-06/0.004858, allocations: 29.64 kB / 0.9832 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.028e-05/0.004878, allocations: 88.27 kB / 0.9833 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.004904, allocations: 23.78 kB / 0.9833 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.004938, allocations: 21.72 kB / 0.9833 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.88e-05/0.005007, allocations: 314.8 kB / 0.9836 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.005025, allocations: 11.98 kB / 0.9836 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/0.005044, allocations: 15.94 kB / 0.9837 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.067e-05/0.005094, allocations: 41.06 kB / 0.9837 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.005095, allocations: 0 / 0.9837 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.725e-05/0.005172, allocations: 77.62 kB / 0.9838 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.005185, allocations: 4 kB / 0.9838 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.005189, allocations: 0 / 0.9838 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.005202, allocations: 7.938 kB / 0.9838 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.005262, allocations: 15.98 kB / 0.9838 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.005268, allocations: 3.938 kB / 0.9838 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.239e-05/0.00528, allocations: 4 kB / 0.9838 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.005286, allocations: 0 / 0.9838 GB, free: 14.29 MB / 0.9011 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 5.14e-05/0.005337, allocations: 113.8 kB / 0.9839 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-06/0.005343, allocations: 0 / 0.9839 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.005471, allocations: 81.64 kB / 0.984 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.005475, allocations: 11.86 kB / 0.984 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.005479, allocations: 4 kB / 0.984 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.005482, allocations: 0 / 0.984 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.539e-05/0.005557, allocations: 132.7 kB / 0.9841 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.005559, allocations: 0 / 0.9841 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.288e-05/0.005611, allocations: 19.92 kB / 0.9842 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.005614, allocations: 0 / 0.9842 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.005621, allocations: 4 kB / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.005623, allocations: 3.938 kB / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.005623, allocations: 0 / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.005751, allocations: 113.1 kB / 0.9843 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-06/0.005757, allocations: 4.031 kB / 0.9843 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.005767, allocations: 4.062 kB / 0.9843 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.504e-05/0.005792, allocations: 7.938 kB / 0.9843 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.005807, allocations: 8.047 kB / 0.9843 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.005813, allocations: 8 kB / 0.9843 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 1.99e-05/0.005833, allocations: 79.22 kB / 0.9844 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005833, allocations: 0 / 0.9844 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001481/0.005981, allocations: 27.94 kB / 0.9844 GB, free: 13.59 MB / 0.9011 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.0003636/0.006345, allocations: 0.6832 MB / 0.9851 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 8.824e-05/0.006433, allocations: 44.06 kB / 0.9851 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.006434, allocations: 0 / 0.9851 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-05/0.006455, allocations: 19.98 kB / 0.9851 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001161/0.006571, allocations: 15.62 kB / 0.9852 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007713/0.007343, allocations: 1.204 MB / 0.9863 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.762e-05/0.00738, allocations: 63.34 kB / 0.9864 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.763e-05/0.007408, allocations: 8.062 kB / 0.9864 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.007437, allocations: 12.5 kB / 0.9864 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of SimCode: time 8.01e-07/0.007438, allocations: 0 / 0.9864 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/0.02768, allocations: 2.459 MB / 0.9888 GB, free: 9.113 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.866/6.894, allocations: 5.875 kB / 0.9888 GB, free: 9.109 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 10.941339207813144] Failed to read output from testmodel.py, exit status != 0: 6.976577388122678 6.985793745 6.981421185 Calling exit ...