Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01057/0.01057, allocations: 1.748 MB / 21.38 MB, free: 480 kB / 14.72 MB " [Timeout remaining time 180] 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.001514/0.001514, allocations: 97.97 kB / 24.96 MB, free: 2.059 MB / 14.72 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.002067/0.002067, allocations: 209.7 kB / 28.68 MB, free: 3.348 MB / 19.63 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 1.464/1.464, allocations: 230.6 MB / 262.9 MB, free: 5.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.063/1.063, allocations: 130.7 MB / 450.4 MB, free: 6.449 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith,fileNamePrefix="ClaRa_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_arith",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith,fileNamePrefix="ClaRa_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_arith",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06428/0.06428, allocations: 20.6 MB / 0.6362 GB, free: 5.117 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.241, allocations: 81.91 MB / 0.7162 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith): time 0.003467/0.2445, allocations: 2.192 MB / 0.7183 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.2457, allocations: 0.6623 MB / 0.719 GB, free: 248 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.2458, allocations: 3.938 kB / 0.719 GB, free: 244 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.112e-05/0.2458, allocations: 15.86 kB / 0.719 GB, free: 228 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.246, allocations: 27.72 kB / 0.719 GB, free: 200 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.2463, allocations: 111.7 kB / 0.7191 GB, free: 88 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.2466, allocations: 163.5 kB / 0.7193 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.2466, allocations: 9.062 kB / 0.7193 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.2467, allocations: 75.7 kB / 0.7194 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.2469, allocations: 83.7 kB / 0.7195 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.2469, allocations: 16 kB / 0.7195 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.2473, allocations: 163.8 kB / 0.7196 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.2473, allocations: 31.84 kB / 0.7197 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.681e-05/0.2474, allocations: 47.78 kB / 0.7197 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.2477, allocations: 199.2 kB / 0.7199 GB, free: 15.31 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2477, allocations: 4 kB / 0.7199 GB, free: 15.31 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2477, allocations: 0 / 0.7199 GB, free: 15.31 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.2477, allocations: 0 / 0.7199 GB, free: 15.31 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001101/0.2488, allocations: 484.9 kB / 0.7204 GB, free: 14.79 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2488, allocations: 8.031 kB / 0.7204 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.439e-05/0.2488, allocations: 8.188 kB / 0.7204 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.2489, allocations: 42.69 kB / 0.7204 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.2489, allocations: 12.89 kB / 0.7204 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.2491, allocations: 143.1 kB / 0.7206 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.2491, allocations: 4.375 kB / 0.7206 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.2491, allocations: 8.375 kB / 0.7206 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00055/0.2497, allocations: 161.5 kB / 0.7207 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.2497, allocations: 4 kB / 0.7207 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.2497, allocations: 3.984 kB / 0.7207 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2497, allocations: 4 kB / 0.7207 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008086/0.2505, allocations: 207.6 kB / 0.7209 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.251, allocations: 291.9 kB / 0.7212 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008245/0.2518, allocations: 214.4 kB / 0.7214 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004232/0.2522, allocations: 116.7 kB / 0.7215 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.2522, allocations: 0 / 0.7215 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006424/0.2529, allocations: 194.6 kB / 0.7217 GB, free: 13.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.2529, allocations: 0 / 0.7217 GB, free: 13.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.001385/0.2543, allocations: 377.2 kB / 0.7221 GB, free: 12.92 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.2543, allocations: 55.41 kB / 0.7221 GB, free: 12.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.2545, allocations: 167.3 kB / 0.7223 GB, free: 12.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.2545, allocations: 33.7 kB / 0.7223 GB, free: 12.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.085e-05/0.2546, allocations: 104.1 kB / 0.7224 GB, free: 12.53 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.2546, allocations: 43.67 kB / 0.7225 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/0.2547, allocations: 33.7 kB / 0.7225 GB, free: 12.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2549, allocations: 330.8 kB / 0.7228 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.2554, allocations: 171.3 kB / 0.723 GB, free: 11.94 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.2558, allocations: 191.1 kB / 0.7232 GB, free: 11.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008172/0.2566, allocations: 276.9 kB / 0.7234 GB, free: 11.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2566, allocations: 336 / 0.7234 GB, free: 11.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001048/0.2577, allocations: 421 kB / 0.7238 GB, free: 11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/0.2577, allocations: 63.41 kB / 0.7239 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2578, allocations: 3.938 kB / 0.7239 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.2578, allocations: 0 / 0.7239 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.2581, allocations: 55.91 kB / 0.7239 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2581, allocations: 0 / 0.7239 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.2583, allocations: 43.94 kB / 0.724 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.2584, allocations: 4 kB / 0.724 GB, free: 10.82 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (T_i.count,$PRE.T_i.count,T_i.T_start,$PRE.T_i.T_start,T_o.count,$PRE.T_o.count,T_o.T_start,$PRE.T_o.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001305/0.2585, allocations: 135.4 kB / 0.7241 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.2585, allocations: 19.91 kB / 0.7241 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.2595, allocations: 290.9 kB / 0.7244 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.2595, allocations: 7.984 kB / 0.7244 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2595, allocations: 0 / 0.7244 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2596, allocations: 0 / 0.7244 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.2597, allocations: 180.5 kB / 0.7246 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.2598, allocations: 4 kB / 0.7246 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.26, allocations: 47.88 kB / 0.7246 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.26, allocations: 4 kB / 0.7246 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.26, allocations: 8 kB / 0.7247 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.26, allocations: 0 / 0.7247 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.26, allocations: 3.984 kB / 0.7247 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009777/0.261, allocations: 312.7 kB / 0.725 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.261, allocations: 7.953 kB / 0.725 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.2611, allocations: 3.984 kB / 0.725 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.2613, allocations: 39.95 kB / 0.725 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.2614, allocations: 27.95 kB / 0.725 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.2615, allocations: 7.984 kB / 0.725 GB, free: 9.672 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000104/0.2616, allocations: 120 kB / 0.7252 GB, free: 9.555 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2616, allocations: 4 kB / 0.7252 GB, free: 9.551 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002622/0.2618, allocations: 39.94 kB / 0.7252 GB, free: 9.512 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,T_o.T_start,T_o.count,T_i.T_start,T_i.count) * Number of discrete states: 2 (T_o.count,T_i.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001375/0.2632, allocations: 0.8535 MB / 0.726 GB, free: 8.633 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.2643, allocations: 414 kB / 0.7264 GB, free: 8.191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2643, allocations: 0 / 0.7264 GB, free: 8.191 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004776/0.2648, allocations: 123.8 kB / 0.7265 GB, free: 8.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.265, allocations: 23.92 kB / 0.7266 GB, free: 8.047 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/0.2694, allocations: 2.417 MB / 0.7289 GB, free: 5.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.807e-05/0.2695, allocations: 101.4 kB / 0.729 GB, free: 5.359 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.406e-05/0.2696, allocations: 9.094 kB / 0.729 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.2697, allocations: 39.41 kB / 0.7291 GB, free: 5.309 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/0.2697, allocations: 8 kB / 0.7291 GB, free: 5.301 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.2949, allocations: 4.652 MB / 0.7336 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.26, allocations: 4.438 kB / 0.7336 GB, free: 0.7852 MB / 0.545 GB " [Timeout remaining time 788] (rm -f ClaRa_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe ; mkfifo ClaRa_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe ; head -c 1048576 < ClaRa_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe >> ../files/ClaRa_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith_res.mat --tempDir=temp_ClaRa_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_arith_fmu --startTime=0 --stopTime=20 --stepSize=0.00399202 --timeout=800 --tolerance=1e-06 ClaRa_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_arith.fmu > ClaRa_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.21349164505955] Failed to read output from testmodel.py, exit status != 0: 12.415011875098571 12.433023251 12.181984474 Calling exit ...