Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Network.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.00176/0.00176, allocations: 112.1 kB / 17.13 MB, free: 5.926 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.445/1.445, allocations: 225.6 MB / 245.5 MB, free: 14.17 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.001482/0.001482, allocations: 196.2 kB / 300.5 MB, free: 9.816 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.04374/0.04374, allocations: 8.937 MB / 364.3 MB, free: 10.16 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.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") translateModel(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002533/0.002533, allocations: 82.16 kB / 487.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09098/0.09352, allocations: 54.4 MB / 0.5289 GB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.003104/0.09662, allocations: 1.737 MB / 0.5306 GB, free: 15.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002891/0.09691, allocations: 87.62 kB / 0.5307 GB, free: 15.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.91e-05/0.09697, allocations: 4 kB / 0.5307 GB, free: 15.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.82e-05/0.09704, allocations: 23.84 kB / 0.5307 GB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.548e-05/0.09712, allocations: 31.7 kB / 0.5308 GB, free: 14.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.09725, allocations: 23.91 kB / 0.5308 GB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.0974, allocations: 119.4 kB / 0.5309 GB, free: 14.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.09755, allocations: 43.84 kB / 0.5309 GB, free: 14.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.381e-05/0.09764, allocations: 43.86 kB / 0.531 GB, free: 14.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.185e-05/0.09773, allocations: 43.84 kB / 0.531 GB, free: 14.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.09776, allocations: 8 kB / 0.531 GB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.221e-05/0.09778, allocations: 8 kB / 0.531 GB, free: 14.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.581e-05/0.09781, allocations: 27.91 kB / 0.5311 GB, free: 14.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.146e-05/0.09788, allocations: 55.73 kB / 0.5311 GB, free: 14.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.09805, allocations: 111.6 kB / 0.5312 GB, free: 14.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.09805, allocations: 0 / 0.5312 GB, free: 14.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09805, allocations: 0 / 0.5312 GB, free: 14.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.09806, allocations: 0 / 0.5312 GB, free: 14.48 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000569/0.09863, allocations: 391.1 kB / 0.5316 GB, free: 14.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.09866, allocations: 12.03 kB / 0.5316 GB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.0987, allocations: 12.89 kB / 0.5316 GB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.09886, allocations: 176.3 kB / 0.5318 GB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.09887, allocations: 4.375 kB / 0.5318 GB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.09891, allocations: 20.25 kB / 0.5318 GB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.0991, allocations: 91.86 kB / 0.5319 GB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.09911, allocations: 192 / 0.5319 GB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.09913, allocations: 7.938 kB / 0.5319 GB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.09913, allocations: 4 kB / 0.5319 GB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.09929, allocations: 55.97 kB / 0.532 GB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000766/0.1001, allocations: 0.4935 MB / 0.5324 GB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.1003, allocations: 82.48 kB / 0.5325 GB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.325e-05/0.1004, allocations: 40.84 kB / 0.5326 GB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.1004, allocations: 0 / 0.5326 GB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.1004, allocations: 30.56 kB / 0.5326 GB, free: 12.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.1004, allocations: 4 kB / 0.5326 GB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006155/0.101, allocations: 219.4 kB / 0.5328 GB, free: 12.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.1011, allocations: 51.41 kB / 0.5329 GB, free: 12.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.1012, allocations: 122.1 kB / 0.533 GB, free: 12.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1012, allocations: 25.7 kB / 0.533 GB, free: 12.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.1013, allocations: 112.1 kB / 0.5331 GB, free: 12.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.1013, allocations: 31.83 kB / 0.5331 GB, free: 12.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.1013, allocations: 25.64 kB / 0.5332 GB, free: 12.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1015, allocations: 318.8 kB / 0.5335 GB, free: 11.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.1015, allocations: 15.98 kB / 0.5335 GB, free: 11.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.298e-05/0.1016, allocations: 33.66 kB / 0.5335 GB, free: 11.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.705e-05/0.1017, allocations: 61.7 kB / 0.5336 GB, free: 11.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.1017, allocations: 0 / 0.5336 GB, free: 11.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002501/0.1019, allocations: 118.3 kB / 0.5337 GB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.102, allocations: 4 kB / 0.5337 GB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.102, allocations: 0 / 0.5337 GB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001759/0.1021, allocations: 32.83 kB / 0.5337 GB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.1022, allocations: 12 kB / 0.5337 GB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.1036, allocations: 1.422 MB / 0.5351 GB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.978e-05/0.1036, allocations: 4.062 kB / 0.5351 GB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.1036, allocations: 4.031 kB / 0.5351 GB, free: 10.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.1037, allocations: 117.8 kB / 0.5352 GB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.1038, allocations: 15.88 kB / 0.5352 GB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.1038, allocations: 12.38 kB / 0.5353 GB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.1038, allocations: 7.938 kB / 0.5353 GB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1038, allocations: 0 / 0.5353 GB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1038, allocations: 0 / 0.5353 GB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.104, allocations: 197.8 kB / 0.5355 GB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.104, allocations: 4 kB / 0.5355 GB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-05/0.1041, allocations: 15.94 kB / 0.5355 GB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/0.1042, allocations: 32.86 kB / 0.5355 GB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1042, allocations: 7.984 kB / 0.5355 GB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.1056, allocations: 1.415 MB / 0.5369 GB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1056, allocations: 4.031 kB / 0.5369 GB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.1059, allocations: 232.3 kB / 0.5371 GB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.1059, allocations: 81.14 kB / 0.5372 GB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.1059, allocations: 0 / 0.5372 GB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/0.106, allocations: 3.938 kB / 0.5372 GB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.106, allocations: 15.92 kB / 0.5372 GB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.106, allocations: 0 / 0.5372 GB, free: 7.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.769e-05/0.1061, allocations: 87.28 kB / 0.5373 GB, free: 7.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1061, allocations: 4 kB / 0.5373 GB, free: 7.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.1064, allocations: 35.89 kB / 0.5373 GB, free: 7.539 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001039/0.1065, allocations: 99.3 kB / 0.5374 GB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003136/0.1068, allocations: 162.6 kB / 0.5376 GB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1068, allocations: 0 / 0.5376 GB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.107, allocations: 142.6 kB / 0.5377 GB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.1074, allocations: 12 kB / 0.5377 GB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/0.108, allocations: 327.4 kB / 0.538 GB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.1083, allocations: 0.6967 MB / 0.5387 GB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.1084, allocations: 11.44 kB / 0.5387 GB, free: 6.012 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1084, allocations: 0 / 0.5387 GB, free: 6.012 MB / 350.1 MB Notification: Performance of Templates: time 0.00377/0.1121, allocations: 1.609 MB / 0.5403 GB, free: 4.406 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Thermal.Network.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Thermal.Network.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Network.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Network.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Network.sim & ./HanserModelica_HanserModelica.Thermal.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.297048937994987] Failed to read output from testmodel.py, exit status != 0: 0.2639517169445753 0.133720759 0.032714848000000005 Calling exit ...