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.01381/0.01381, allocations: 1.76 MB / 21.38 MB, free: 0.5625 MB / 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.001469/0.001469, allocations: 108.1 kB / 24.98 MB, free: 2.164 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.001967/0.001967, allocations: 211.2 kB / 28.71 MB, free: 3.438 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.453/1.453, allocations: 230.6 MB / 262.9 MB, free: 6.02 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.031/1.031, allocations: 130.7 MB / 450.4 MB, free: 6.781 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.03169/0.03169, allocations: 20.6 MB / 0.6363 GB, free: 5.387 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.2012, allocations: 81.91 MB / 0.7163 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith): time 0.004199/0.2054, allocations: 2.245 MB / 0.7185 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.2069, allocations: 0.7206 MB / 0.7192 GB, free: 408 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.771e-05/0.2069, allocations: 4 kB / 0.7192 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.621e-05/0.207, allocations: 7.875 kB / 0.7192 GB, free: 396 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.2072, allocations: 39.66 kB / 0.7192 GB, free: 356 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.2077, allocations: 107.7 kB / 0.7194 GB, free: 248 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.2079, allocations: 163.5 kB / 0.7195 GB, free: 84 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.156e-05/0.208, allocations: 9.062 kB / 0.7195 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.2081, allocations: 71.77 kB / 0.7196 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.2083, allocations: 83.83 kB / 0.7197 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.2084, allocations: 12 kB / 0.7197 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004591/0.2088, allocations: 191.6 kB / 0.7199 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.2089, allocations: 35.84 kB / 0.7199 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.701e-05/0.2089, allocations: 59.66 kB / 0.7199 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.2093, allocations: 199.3 kB / 0.7201 GB, free: 15.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2093, allocations: 0 / 0.7201 GB, free: 15.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2093, allocations: 0 / 0.7201 GB, free: 15.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.2093, allocations: 0 / 0.7201 GB, free: 15.43 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.001226/0.2105, allocations: 480.9 kB / 0.7206 GB, free: 14.92 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.2106, allocations: 8.031 kB / 0.7206 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.698e-05/0.2106, allocations: 4.188 kB / 0.7206 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.2107, allocations: 38.73 kB / 0.7206 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.2107, allocations: 20.77 kB / 0.7207 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.2109, allocations: 151.3 kB / 0.7208 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.2109, allocations: 8.375 kB / 0.7208 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.211, allocations: 12.38 kB / 0.7208 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.2116, allocations: 165.4 kB / 0.721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.2116, allocations: 0 / 0.721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.2116, allocations: 0 / 0.721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.2116, allocations: 0 / 0.721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008547/0.2124, allocations: 203.7 kB / 0.7212 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.213, allocations: 327.8 kB / 0.7215 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008816/0.2138, allocations: 214.4 kB / 0.7217 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/0.2143, allocations: 117 kB / 0.7218 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.2143, allocations: 7.922 kB / 0.7218 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006747/0.215, allocations: 195.1 kB / 0.722 GB, free: 13.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.215, allocations: 3.938 kB / 0.722 GB, free: 13.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.001461/0.2165, allocations: 376.4 kB / 0.7224 GB, free: 13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.2165, allocations: 63.41 kB / 0.7224 GB, free: 12.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.2167, allocations: 163.3 kB / 0.7226 GB, free: 12.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.2167, allocations: 29.7 kB / 0.7226 GB, free: 12.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/0.2168, allocations: 108.1 kB / 0.7227 GB, free: 12.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.2168, allocations: 35.69 kB / 0.7227 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.34e-05/0.2169, allocations: 37.7 kB / 0.7228 GB, free: 12.53 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2171, allocations: 326.8 kB / 0.7231 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.2175, allocations: 115.9 kB / 0.7232 GB, free: 12.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/0.218, allocations: 129.6 kB / 0.7233 GB, free: 11.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008894/0.2189, allocations: 282.6 kB / 0.7236 GB, free: 11.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2189, allocations: 0 / 0.7236 GB, free: 11.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00111/0.22, allocations: 368.4 kB / 0.724 GB, free: 11.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.854e-05/0.2201, allocations: 59.41 kB / 0.724 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2201, allocations: 0 / 0.724 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2201, allocations: 0 / 0.724 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.2204, allocations: 51.94 kB / 0.7241 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2204, allocations: 0 / 0.7241 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.2207, allocations: 43.97 kB / 0.7241 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.2207, allocations: 11.98 kB / 0.7241 GB, free: 11.11 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.0001423/0.2209, allocations: 125.7 kB / 0.7242 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.2209, allocations: 11.91 kB / 0.7242 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.222, allocations: 294.9 kB / 0.7245 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.222, allocations: 4 kB / 0.7245 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.222, allocations: 0 / 0.7245 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.788e-06/0.222, allocations: 4 kB / 0.7245 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.2222, allocations: 204.5 kB / 0.7247 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2222, allocations: 0 / 0.7247 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.2225, allocations: 51.88 kB / 0.7248 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2225, allocations: 0 / 0.7248 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.2225, allocations: 4 kB / 0.7248 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2225, allocations: 7.938 kB / 0.7248 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2225, allocations: 0 / 0.7248 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.2235, allocations: 316.7 kB / 0.7251 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.2236, allocations: 7.953 kB / 0.7251 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.2236, allocations: 0 / 0.7251 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.2239, allocations: 43.94 kB / 0.7251 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.224, allocations: 27.95 kB / 0.7252 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.224, allocations: 4 kB / 0.7252 GB, free: 9.949 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001155/0.2241, allocations: 124 kB / 0.7253 GB, free: 9.828 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2241, allocations: 4 kB / 0.7253 GB, free: 9.824 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000267/0.2244, allocations: 43.86 kB / 0.7253 GB, free: 9.781 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.001492/0.2259, allocations: 0.8533 MB / 0.7262 GB, free: 8.902 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.227, allocations: 358.5 kB / 0.7265 GB, free: 8.527 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.227, allocations: 0 / 0.7265 GB, free: 8.527 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004906/0.2275, allocations: 123.9 kB / 0.7266 GB, free: 8.406 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.2278, allocations: 23.98 kB / 0.7266 GB, free: 8.383 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004215/0.232, allocations: 2.185 MB / 0.7288 GB, free: 6.098 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.2324, allocations: 0.7083 MB / 0.7295 GB, free: 5.363 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.003e-05/0.2325, allocations: 13.08 kB / 0.7295 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.2326, allocations: 43.42 kB / 0.7295 GB, free: 5.305 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/0.2326, allocations: 0 / 0.7295 GB, free: 5.305 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.2565, allocations: 4.478 MB / 0.7339 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/11.94, allocations: 8.5 kB / 0.7339 GB, free: 0.9453 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: 15.92345891695004] Failed to read output from testmodel.py, exit status != 0: 12.102307870984077 12.126161114 11.912676713 Calling exit ...