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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 245.5 MB, free: 14.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 184.4 kB / 300.5 MB, free: 9.84 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04341/0.04341, allocations: 8.931 MB / 364.3 MB, free: 10.18 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002525/0.002525, allocations: 89.47 kB / 487.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09018/0.0927, allocations: 54.41 MB / 0.5289 GB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.00408/0.09678, allocations: 2.436 MB / 0.5313 GB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.09802, allocations: 0.5882 MB / 0.5319 GB, free: 13.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.09816, allocations: 0 / 0.5319 GB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.09831, allocations: 31.66 kB / 0.5319 GB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.0985, allocations: 75.33 kB / 0.532 GB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.09872, allocations: 59.88 kB / 0.532 GB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.09907, allocations: 246.8 kB / 0.5323 GB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.09923, allocations: 60.27 kB / 0.5323 GB, free: 13.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.09936, allocations: 91.66 kB / 0.5324 GB, free: 13.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.09954, allocations: 95.55 kB / 0.5325 GB, free: 13.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.308e-05/0.09962, allocations: 20 kB / 0.5325 GB, free: 13.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.094e-05/0.09966, allocations: 16 kB / 0.5326 GB, free: 13.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.212e-05/0.09972, allocations: 43.84 kB / 0.5326 GB, free: 13.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.09986, allocations: 111.4 kB / 0.5327 GB, free: 12.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.1002, allocations: 235 kB / 0.5329 GB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1002, allocations: 4 kB / 0.5329 GB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.1002, allocations: 4 kB / 0.5329 GB, free: 12.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1002, allocations: 0 / 0.5329 GB, free: 12.75 MB / 350.1 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.000884/0.1011, allocations: 0.5023 MB / 0.5334 GB, free: 12.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1011, allocations: 8.031 kB / 0.5334 GB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.1012, allocations: 24.8 kB / 0.5335 GB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.1016, allocations: 236 kB / 0.5337 GB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.1016, allocations: 8.375 kB / 0.5337 GB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.1016, allocations: 20.38 kB / 0.5337 GB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.102, allocations: 191.5 kB / 0.5339 GB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.102, allocations: 3.938 kB / 0.5339 GB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.102, allocations: 12 kB / 0.5339 GB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.102, allocations: 4 kB / 0.5339 GB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/0.1023, allocations: 115.9 kB / 0.534 GB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.1036, allocations: 0.7442 MB / 0.5347 GB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.1039, allocations: 126.7 kB / 0.5349 GB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.778e-05/0.104, allocations: 48.84 kB / 0.5349 GB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.104, allocations: 0 / 0.5349 GB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.1042, allocations: 91.38 kB / 0.535 GB, free: 10.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.1042, allocations: 0 / 0.535 GB, free: 10.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007122/0.1049, allocations: 297.5 kB / 0.5353 GB, free: 10.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.1049, allocations: 55.41 kB / 0.5353 GB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.1052, allocations: 184 kB / 0.5355 GB, free: 9.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.1052, allocations: 33.64 kB / 0.5355 GB, free: 9.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.858e-05/0.1053, allocations: 136.4 kB / 0.5357 GB, free: 9.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.1054, allocations: 63.45 kB / 0.5357 GB, free: 9.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.1054, allocations: 41.7 kB / 0.5358 GB, free: 9.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1056, allocations: 322.8 kB / 0.5361 GB, free: 9.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-05/0.1057, allocations: 35.98 kB / 0.5361 GB, free: 9.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.1058, allocations: 76.17 kB / 0.5362 GB, free: 9.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.1059, allocations: 116.2 kB / 0.5363 GB, free: 9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.106, allocations: 0 / 0.5363 GB, free: 9 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003821/0.1063, allocations: 184.6 kB / 0.5365 GB, free: 8.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1064, allocations: 8 kB / 0.5365 GB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1064, allocations: 128 / 0.5365 GB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/0.1065, allocations: 40.83 kB / 0.5365 GB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1067, allocations: 27.92 kB / 0.5365 GB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.1081, allocations: 1.469 MB / 0.538 GB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.1082, allocations: 19.88 kB / 0.538 GB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1082, allocations: 8 kB / 0.538 GB, free: 7.09 MB / 350.1 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 0.0001226/0.1083, allocations: 125.8 kB / 0.5381 GB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.1083, allocations: 19.84 kB / 0.5381 GB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.169e-05/0.1084, allocations: 29.58 kB / 0.5382 GB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1084, allocations: 0 / 0.5382 GB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.1084, allocations: 0 / 0.5382 GB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1084, allocations: 0 / 0.5382 GB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.1087, allocations: 257.5 kB / 0.5384 GB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1087, allocations: 0 / 0.5384 GB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.1088, allocations: 23.94 kB / 0.5384 GB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001247/0.1089, allocations: 36.77 kB / 0.5385 GB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1089, allocations: 4 kB / 0.5385 GB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.1102, allocations: 1.461 MB / 0.5399 GB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1102, allocations: 4.062 kB / 0.5399 GB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.1107, allocations: 241.7 kB / 0.5401 GB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-05/0.1108, allocations: 105 kB / 0.5402 GB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.1108, allocations: 3.938 kB / 0.5402 GB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.1109, allocations: 11.98 kB / 0.5403 GB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.1109, allocations: 11.98 kB / 0.5403 GB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.111, allocations: 16 kB / 0.5403 GB, free: 4.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.1111, allocations: 137.2 kB / 0.5404 GB, free: 4.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1111, allocations: 0 / 0.5404 GB, free: 4.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.1114, allocations: 51.89 kB / 0.5405 GB, free: 4.328 MB / 350.1 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.805e-05/0.1115, allocations: 101.3 kB / 0.5406 GB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000409/0.1119, allocations: 225.6 kB / 0.5408 GB, free: 3.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1119, allocations: 0 / 0.5408 GB, free: 3.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.1121, allocations: 162.6 kB / 0.5409 GB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.1124, allocations: 35.92 kB / 0.541 GB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008585/0.1133, allocations: 483.1 kB / 0.5414 GB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.1136, allocations: 0.732 MB / 0.5421 GB, free: 2.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.1137, allocations: 15.44 kB / 0.5422 GB, free: 2.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1137, allocations: 0 / 0.5422 GB, free: 2.5 MB / 350.1 MB Notification: Performance of Templates: time 0.005474/0.1191, allocations: 3.007 MB / 0.5451 GB, free: 15.5 MB / 366.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.396542921895161] Failed to read output from testmodel.py, exit status != 0: 0.26815761090256274 0.140794315 0.037741186 Calling exit ...