Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Coupling.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.000802/0.000802, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.002338, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.9659/0.9659, allocations: 177.2 MB / 188.4 MB, free: 4.387 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1593/1.125, allocations: 53.66 MB / 242 MB, free: 2.582 MB / 234.7 MB " [Timeout remaining time 179] 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.0009324/0.0009324, allocations: 148.4 kB / 242.9 MB, free: 1.707 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001261/0.002193, allocations: 480.1 kB / 243.4 MB, free: 1.254 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02425/0.02425, allocations: 6.665 MB / 250.8 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004708/0.02896, allocations: 2.657 MB / 253.5 MB, free: 7.379 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: translateModel(HanserModelica.Thermal.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") translateModel(HanserModelica.Thermal.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 254.8 MB, free: 6.094 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.291e-05, allocations: 2.312 kB / 254.8 MB, free: 6.09 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.002707/0.00273, allocations: 2.524 MB / 257.3 MB, free: 3.555 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008789/0.003609, allocations: 0.6237 MB / 257.9 MB, free: 2.922 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.136e-05/0.0037, allocations: 4 kB / 257.9 MB, free: 2.918 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.314e-05/0.003793, allocations: 39.58 kB / 257.9 MB, free: 2.879 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.003912, allocations: 71.41 kB / 258 MB, free: 2.809 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.004079, allocations: 59.8 kB / 258.1 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.004313, allocations: 254.7 kB / 258.3 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.004433, allocations: 58.52 kB / 258.4 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.004585, allocations: 168.3 kB / 258.5 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.004707, allocations: 71.75 kB / 258.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.004736, allocations: 20 kB / 258.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.356e-05/0.00476, allocations: 16 kB / 258.6 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.175e-05/0.004792, allocations: 31.88 kB / 258.7 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.088e-05/0.004853, allocations: 71.88 kB / 258.7 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.005044, allocations: 143.5 kB / 258.9 MB, free: 1.934 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.534e-05/0.005059, allocations: 0 / 258.9 MB, free: 1.934 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.00506, allocations: 0 / 258.9 MB, free: 1.934 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.005071, allocations: 0 / 258.9 MB, free: 1.934 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005796/0.005651, allocations: 459.5 kB / 259.3 MB, free: 1.461 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.005684, allocations: 12.03 kB / 259.3 MB, free: 1.449 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.005733, allocations: 28.91 kB / 259.4 MB, free: 1.422 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.005913, allocations: 170.2 kB / 259.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.005925, allocations: 12.38 kB / 259.6 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.005958, allocations: 16.38 kB / 259.6 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.006144, allocations: 197.9 kB / 259.8 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.006155, allocations: 0 / 259.8 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.006166, allocations: 4 kB / 259.8 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.006178, allocations: 4 kB / 259.8 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.26e-05/0.00626, allocations: 47.92 kB / 259.8 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006062/0.006866, allocations: 0.5138 MB / 260.3 MB, free: 396 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.007029, allocations: 94.47 kB / 260.4 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.518e-05/0.007064, allocations: 32.83 kB / 260.5 MB, free: 256 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.007072, allocations: 0 / 260.5 MB, free: 256 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.007177, allocations: 97.08 kB / 260.6 MB, free: 140 kB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.007178, allocations: 0 / 260.6 MB, free: 140 kB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003202/0.007499, allocations: 154.3 kB / 260.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.007525, allocations: 51.41 kB / 260.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.765e-05/0.007613, allocations: 171.3 kB / 260.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.007626, allocations: 25.7 kB / 260.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.107e-05/0.007687, allocations: 140.4 kB / 261.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.00773, allocations: 55.52 kB / 261.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.007782, allocations: 33.7 kB / 261.2 MB, free: 15.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.824e-05/0.00788, allocations: 334.8 kB / 261.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.489e-05/0.007905, allocations: 15.94 kB / 261.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-05/0.007944, allocations: 48.27 kB / 261.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.606e-05/0.00802, allocations: 82.56 kB / 261.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.008022, allocations: 0 / 261.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001531/0.008175, allocations: 130.4 kB / 261.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.008187, allocations: 6.969 kB / 261.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.008192, allocations: 0 / 261.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.008325, allocations: 36.81 kB / 261.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.008427, allocations: 39.92 kB / 261.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006508/0.009078, allocations: 1.214 MB / 263.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.009128, allocations: 23.92 kB / 263.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.009136, allocations: 8 kB / 263.1 MB, free: 13.41 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.737e-05/0.009203, allocations: 117.8 kB / 263.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.009218, allocations: 11.94 kB / 263.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.009244, allocations: 29.39 kB / 263.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.009245, allocations: 0 / 263.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.009249, allocations: 4 kB / 263.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.009253, allocations: 3.938 kB / 263.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.009363, allocations: 117.8 kB / 263.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.009365, allocations: 4 kB / 263.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.009442, allocations: 30.52 kB / 263.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.009475, allocations: 19.84 kB / 263.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.68e-05/0.009552, allocations: 28.95 kB / 263.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.009559, allocations: 4 kB / 263.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005371/0.0101, allocations: 1.217 MB / 264.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.0101, allocations: 0 / 264.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.01025, allocations: 157.8 kB / 264.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.01026, allocations: 0 / 264.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.459e-05/0.01031, allocations: 12 kB / 264.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.01034, allocations: 11.97 kB / 264.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.01034, allocations: 0 / 264.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.673e-05/0.01038, allocations: 48.81 kB / 264.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01038, allocations: 0 / 264.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001542/0.01054, allocations: 55.89 kB / 265 MB, free: 11.41 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 3 ($whenCondition1,switch.control,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.088e-05/0.01063, allocations: 88.41 kB / 265 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.01085, allocations: 185.6 kB / 265.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.01086, allocations: 4 kB / 265.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.01098, allocations: 173.6 kB / 265.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.01122, allocations: 377.1 kB / 265.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.01351, allocations: 384.6 kB / 266.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.213e-05/0.01355, allocations: 83.97 kB / 266.2 MB, free: 9.984 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.981e-05/0.0136, allocations: 13.48 kB / 266.2 MB, free: 9.973 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.369e-05/0.01368, allocations: 83.36 kB / 266.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01368, allocations: 0 / 266.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of Templates: time 0.004399/0.01808, allocations: 2.574 MB / 268.9 MB, free: 7.375 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Thermal.Coupling.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Thermal.Coupling.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Coupling.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Coupling.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Coupling.sim & (cd run_cvode && ../HanserModelica_HanserModelica.Thermal.Coupling -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Thermal.Coupling_dassl.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Coupling_dassl.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Coupling_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Thermal.Coupling_dassl.sim & (cd run_dassl && ../HanserModelica_HanserModelica.Thermal.Coupling -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > HanserModelica_HanserModelica.Thermal.Coupling_dassl.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Thermal.Coupling_gbode.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Coupling_gbode.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Coupling_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Thermal.Coupling_gbode.sim & (cd run_gbode && ../HanserModelica_HanserModelica.Thermal.Coupling -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > HanserModelica_HanserModelica.Thermal.Coupling_gbode.pipe 2>&1) [Timeout 240] (rm -f HanserModelica_HanserModelica.Thermal.Coupling_ida.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Coupling_ida.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Coupling_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HanserModelica_HanserModelica.Thermal.Coupling_ida.sim & (cd run_ida && ../HanserModelica_HanserModelica.Thermal.Coupling -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > HanserModelica_HanserModelica.Thermal.Coupling_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.678464500233531]