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.001738/0.001738, allocations: 114.3 kB / 17.13 MB, free: 5.938 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.425/1.425, allocations: 225.6 MB / 245.5 MB, free: 14.16 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.001683/0.001683, allocations: 189.5 kB / 300.5 MB, free: 9.812 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.0406/0.0406, allocations: 8.93 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.002385/0.002385, allocations: 84.73 kB / 487.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1204, allocations: 54.41 MB / 0.5289 GB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.003087/0.1235, allocations: 1.723 MB / 0.5306 GB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002694/0.1237, allocations: 99.66 kB / 0.5307 GB, free: 15.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.1238, allocations: 0 / 0.5307 GB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.842e-05/0.1239, allocations: 19.86 kB / 0.5307 GB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.079e-05/0.1239, allocations: 35.64 kB / 0.5308 GB, free: 14.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.1241, allocations: 23.97 kB / 0.5308 GB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1242, allocations: 111.4 kB / 0.5309 GB, free: 14.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.1244, allocations: 43.89 kB / 0.5309 GB, free: 14.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.311e-05/0.1244, allocations: 39.86 kB / 0.531 GB, free: 14.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.653e-05/0.1245, allocations: 43.84 kB / 0.531 GB, free: 14.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.1246, allocations: 8 kB / 0.531 GB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.111e-05/0.1246, allocations: 12 kB / 0.531 GB, free: 14.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.741e-05/0.1246, allocations: 23.92 kB / 0.5311 GB, free: 14.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.311e-05/0.1247, allocations: 51.8 kB / 0.5311 GB, free: 14.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.1249, allocations: 115.5 kB / 0.5312 GB, free: 14.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1249, allocations: 0 / 0.5312 GB, free: 14.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1249, allocations: 0 / 0.5312 GB, free: 14.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1249, allocations: 0 / 0.5312 GB, free: 14.5 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.0006789/0.1256, allocations: 399.1 kB / 0.5316 GB, free: 14.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1256, allocations: 8.031 kB / 0.5316 GB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.1257, allocations: 8.891 kB / 0.5316 GB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.1259, allocations: 180.2 kB / 0.5318 GB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.1259, allocations: 8.375 kB / 0.5318 GB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.1259, allocations: 16.33 kB / 0.5318 GB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.1261, allocations: 91.84 kB / 0.5319 GB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1261, allocations: 192 / 0.5319 GB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.1261, allocations: 7.938 kB / 0.5319 GB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.1261, allocations: 4 kB / 0.5319 GB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.1263, allocations: 59.91 kB / 0.532 GB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000773/0.1271, allocations: 0.4975 MB / 0.5324 GB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.1273, allocations: 78.55 kB / 0.5325 GB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.114e-05/0.1274, allocations: 32.84 kB / 0.5326 GB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.1274, allocations: 3.938 kB / 0.5326 GB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.1274, allocations: 38.56 kB / 0.5326 GB, free: 12.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1274, allocations: 4 kB / 0.5326 GB, free: 12.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005657/0.128, allocations: 227.6 kB / 0.5328 GB, free: 12.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.128, allocations: 51.41 kB / 0.5329 GB, free: 12.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1281, allocations: 109.8 kB / 0.533 GB, free: 12.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1282, allocations: 29.7 kB / 0.533 GB, free: 12.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.336e-05/0.1282, allocations: 108 kB / 0.5331 GB, free: 12.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1283, allocations: 31.73 kB / 0.5331 GB, free: 12.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.1283, allocations: 25.72 kB / 0.5332 GB, free: 12.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1285, allocations: 318.8 kB / 0.5335 GB, free: 11.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.2e-05/0.1285, allocations: 20 kB / 0.5335 GB, free: 11.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.494e-05/0.1286, allocations: 38.02 kB / 0.5335 GB, free: 11.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.887e-05/0.1286, allocations: 57.72 kB / 0.5336 GB, free: 11.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1286, allocations: 7.938 kB / 0.5336 GB, free: 11.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002162/0.1289, allocations: 110.4 kB / 0.5337 GB, free: 11.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1289, allocations: 8 kB / 0.5337 GB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1289, allocations: 0 / 0.5337 GB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001706/0.1291, allocations: 28.83 kB / 0.5337 GB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.1291, allocations: 15.98 kB / 0.5337 GB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.1304, allocations: 1.418 MB / 0.5351 GB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.295e-05/0.1304, allocations: 12.09 kB / 0.5351 GB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.1304, allocations: 4 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.0001014/0.1305, allocations: 117.8 kB / 0.5352 GB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.1306, allocations: 7.891 kB / 0.5352 GB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.1306, allocations: 16.38 kB / 0.5353 GB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1306, allocations: 0 / 0.5353 GB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1306, allocations: 0 / 0.5353 GB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1306, allocations: 0 / 0.5353 GB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.1309, allocations: 209.5 kB / 0.5355 GB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1309, allocations: 0 / 0.5355 GB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.842e-05/0.1309, allocations: 12 kB / 0.5355 GB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-05/0.131, allocations: 32.77 kB / 0.5355 GB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.131, allocations: 0 / 0.5355 GB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.1322, allocations: 1.418 MB / 0.5369 GB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1322, allocations: 3.938 kB / 0.5369 GB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.1325, allocations: 232.6 kB / 0.5371 GB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.1325, allocations: 77.11 kB / 0.5372 GB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.1326, allocations: 4 kB / 0.5372 GB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.1326, allocations: 11.91 kB / 0.5372 GB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.1326, allocations: 3.984 kB / 0.5372 GB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1327, allocations: 4 kB / 0.5372 GB, free: 7.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.813e-05/0.1327, allocations: 91.27 kB / 0.5373 GB, free: 7.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1327, allocations: 0 / 0.5373 GB, free: 7.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.133, allocations: 35.89 kB / 0.5373 GB, free: 7.555 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.0001184/0.1331, allocations: 101.6 kB / 0.5374 GB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000311/0.1334, allocations: 162.6 kB / 0.5376 GB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1334, allocations: 0 / 0.5376 GB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.1336, allocations: 150.6 kB / 0.5377 GB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.1339, allocations: 16.05 kB / 0.5377 GB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/0.1345, allocations: 311.4 kB / 0.538 GB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.1349, allocations: 0.6963 MB / 0.5387 GB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.1349, allocations: 11.44 kB / 0.5387 GB, free: 6.031 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1349, allocations: 0 / 0.5387 GB, free: 6.031 MB / 350.1 MB Notification: Performance of Templates: time 0.003561/0.1384, allocations: 1.613 MB / 0.5403 GB, free: 4.418 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.569516873001703] Failed to read output from testmodel.py, exit status != 0: 0.31705397300538607 0.159818877 0.032059993 Calling exit ...