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.0007111/0.0007111, allocations: 76.17 kB / 9.906 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009028/0.001614, allocations: 439.8 kB / 10.34 MB, free: 360 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.9294/0.9294, allocations: 177.2 MB / 188.3 MB, free: 3.949 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1608/1.09, allocations: 53.65 MB / 241.9 MB, free: 2.539 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.001097/0.001097, allocations: 149 kB / 242.8 MB, free: 1.676 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009544/0.002052, allocations: 478.9 kB / 243.3 MB, free: 1.223 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.0244/0.0244, allocations: 6.65 MB / 250.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005843/0.03024, allocations: 2.66 MB / 253.3 MB, free: 7.383 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.152e-06/1.152e-06, allocations: 0 / 254.6 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334e-05/1.449e-05, allocations: 2.312 kB / 254.6 MB, free: 6.121 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.00264/0.002655, allocations: 2.53 MB / 257.1 MB, free: 3.578 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009378/0.003592, allocations: 0.6191 MB / 257.7 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.003695, allocations: 4 kB / 257.7 MB, free: 2.949 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.711e-05/0.003772, allocations: 31.66 kB / 257.7 MB, free: 2.918 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.00389, allocations: 75.33 kB / 257.8 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.004031, allocations: 55.86 kB / 257.9 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.004273, allocations: 258.6 kB / 258.1 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.004411, allocations: 58.5 kB / 258.2 MB, free: 2.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.004595, allocations: 168.3 kB / 258.4 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.004716, allocations: 71.73 kB / 258.4 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.004749, allocations: 20 kB / 258.4 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.211e-05/0.004781, allocations: 16 kB / 258.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.004812, allocations: 31.88 kB / 258.5 MB, free: 2.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.004884, allocations: 63.88 kB / 258.5 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.005083, allocations: 139.5 kB / 258.7 MB, free: 1.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.44e-05/0.005097, allocations: 8 kB / 258.7 MB, free: 1.973 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.0051, allocations: 3.984 kB / 258.7 MB, free: 1.969 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.005113, allocations: 4 kB / 258.7 MB, free: 1.965 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.0005464/0.005659, allocations: 455.5 kB / 259.1 MB, free: 1.496 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.005689, allocations: 12.03 kB / 259.2 MB, free: 1.484 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.005735, allocations: 24.92 kB / 259.2 MB, free: 1.461 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.005917, allocations: 163.2 kB / 259.3 MB, free: 1.277 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.005931, allocations: 12.38 kB / 259.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.005958, allocations: 20.38 kB / 259.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.006152, allocations: 193.9 kB / 259.6 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.006162, allocations: 0 / 259.6 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.006176, allocations: 12 kB / 259.6 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.006182, allocations: 4 kB / 259.6 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.02e-05/0.006262, allocations: 47.92 kB / 259.6 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008761/0.007138, allocations: 0.5215 MB / 260.1 MB, free: 428 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.007299, allocations: 86.53 kB / 260.2 MB, free: 332 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.132e-05/0.00733, allocations: 32.83 kB / 260.3 MB, free: 296 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.00734, allocations: 7.938 kB / 260.3 MB, free: 288 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.8e-05/0.007438, allocations: 97.08 kB / 260.4 MB, free: 172 kB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.007439, allocations: 0 / 260.4 MB, free: 172 kB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.000299/0.007738, allocations: 156.6 kB / 260.5 MB, free: 8 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.00778, allocations: 55.41 kB / 260.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.007868, allocations: 167.4 kB / 260.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.00788, allocations: 25.7 kB / 260.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.007934, allocations: 136.4 kB / 260.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.007964, allocations: 55.45 kB / 260.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.008004, allocations: 37.69 kB / 261 MB, free: 15.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.836e-05/0.008083, allocations: 326.8 kB / 261.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.008109, allocations: 16 kB / 261.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.914e-05/0.008148, allocations: 59.36 kB / 261.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.08e-05/0.008219, allocations: 80.19 kB / 261.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.008221, allocations: 0 / 261.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001377/0.008359, allocations: 124.7 kB / 261.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.008374, allocations: 10.33 kB / 261.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.00838, allocations: 4 kB / 261.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.008508, allocations: 28.97 kB / 261.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.008607, allocations: 35.92 kB / 261.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000645/0.009252, allocations: 1.218 MB / 262.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.549e-05/0.009307, allocations: 19.83 kB / 262.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.009314, allocations: 7.984 kB / 262.9 MB, free: 13.45 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.988e-05/0.009384, allocations: 121.8 kB / 263 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.009401, allocations: 15.98 kB / 263 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.009424, allocations: 17.47 kB / 263.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.009425, allocations: 0 / 263.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.009429, allocations: 4 kB / 263.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.009433, allocations: 3.938 kB / 263.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.009544, allocations: 117.8 kB / 263.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.009546, allocations: 0 / 263.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.344e-05/0.009629, allocations: 30.05 kB / 263.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.009661, allocations: 19.84 kB / 263.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-05/0.009737, allocations: 32.83 kB / 263.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.009743, allocations: 0 / 263.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005188/0.01026, allocations: 1.225 MB / 264.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.01026, allocations: 3.984 kB / 264.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.01042, allocations: 156.2 kB / 264.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.01043, allocations: 4.062 kB / 264.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.376e-05/0.01047, allocations: 15.98 kB / 264.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.01051, allocations: 7.984 kB / 264.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.01052, allocations: 3.984 kB / 264.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.294e-05/0.01055, allocations: 44.83 kB / 264.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01055, allocations: 0 / 264.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001551/0.0107, allocations: 55.89 kB / 264.8 MB, free: 11.45 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 7.531e-05/0.01078, allocations: 84.34 kB / 264.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000203/0.01098, allocations: 198.4 kB / 265 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.01099, allocations: 0 / 265 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.043e-05/0.01108, allocations: 163.3 kB / 265.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.01122, allocations: 43.92 kB / 265.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.01339, allocations: 389 kB / 265.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.265e-05/0.01343, allocations: 75.98 kB / 265.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.949e-05/0.01348, allocations: 17.48 kB / 265.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.175e-05/0.01357, allocations: 83.36 kB / 265.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01357, allocations: 0 / 265.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of Templates: time 0.004591/0.01816, allocations: 2.537 MB / 268.3 MB, free: 7.844 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 & ./HanserModelica_HanserModelica.Thermal.Coupling -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5150882275775075]