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.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.001636/0.001636, allocations: 84.73 kB / 19.44 MB, free: 348 kB / 13.93 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 1.647/1.647, allocations: 177.1 MB / 199.7 MB, free: 5.824 MB / 186.7 MB " [Timeout remaining time 178] 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.001946/0.001946, allocations: 168.6 kB / 256.3 MB, free: 13.19 MB / 250.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.03833/0.03833, allocations: 6.65 MB / 319.4 MB, free: 26.57 MB / 266.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.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 3.316e-06/3.316e-06, allocations: 0 / 390.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.936e-05/5.268e-05, allocations: 6.109 kB / 390.9 MB, free: 2.992 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.007156/0.007208, allocations: 1.696 MB / 392.6 MB, free: 1.285 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000663/0.007871, allocations: 107.6 kB / 392.7 MB, free: 1.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.008006, allocations: 0 / 392.7 MB, free: 1.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.008116, allocations: 15.86 kB / 392.7 MB, free: 1.164 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.008358, allocations: 31.7 kB / 392.7 MB, free: 1.133 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.008619, allocations: 19.97 kB / 392.8 MB, free: 1.113 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.008944, allocations: 127.3 kB / 392.9 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.009202, allocations: 35.91 kB / 392.9 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.009395, allocations: 63.94 kB / 393 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.009541, allocations: 31.91 kB / 393 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.009583, allocations: 8 kB / 393 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.897e-05/0.009622, allocations: 11.94 kB / 393 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.00967, allocations: 23.91 kB / 393.1 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.009771, allocations: 35.92 kB / 393.1 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.01008, allocations: 111.6 kB / 393.2 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.01009, allocations: 4 kB / 393.2 MB, free: 0.668 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.01009, allocations: 0 / 393.2 MB, free: 0.668 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.0101, allocations: 0 / 393.2 MB, free: 0.668 MB / 314.7 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.0009237/0.01102, allocations: 318 kB / 393.5 MB, free: 332 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.198e-05/0.0111, allocations: 8.031 kB / 393.5 MB, free: 324 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.01121, allocations: 16.89 kB / 393.5 MB, free: 308 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.01144, allocations: 117.7 kB / 393.7 MB, free: 164 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.01147, allocations: 16.31 kB / 393.7 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.973e-05/0.01153, allocations: 12.36 kB / 393.7 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.01188, allocations: 98.08 kB / 393.8 MB, free: 32 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.0119, allocations: 192 / 393.8 MB, free: 32 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.01192, allocations: 4.375 kB / 393.8 MB, free: 28 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.01193, allocations: 4.375 kB / 393.8 MB, free: 24 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.01221, allocations: 59.91 kB / 393.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.01338, allocations: 348.1 kB / 394.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.01378, allocations: 86.45 kB / 394.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.01389, allocations: 36.84 kB / 394.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.01392, allocations: 4 kB / 394.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.01396, allocations: 34.56 kB / 394.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 4.168e-06/0.01397, allocations: 0 / 394.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008051/0.01477, allocations: 150.3 kB / 394.5 MB, free: 15.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.01484, allocations: 51.41 kB / 394.5 MB, free: 15.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.015, allocations: 105.8 kB / 394.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.01503, allocations: 29.7 kB / 394.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.01515, allocations: 111.9 kB / 394.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.0152, allocations: 31.73 kB / 394.8 MB, free: 14.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.241e-05/0.01527, allocations: 21.72 kB / 394.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.01548, allocations: 314.8 kB / 395.1 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.151e-05/0.01555, allocations: 19.98 kB / 395.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.732e-05/0.01563, allocations: 37.64 kB / 395.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.01579, allocations: 61.98 kB / 395.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.01579, allocations: 0 / 395.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003856/0.01618, allocations: 118.3 kB / 395.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.0162, allocations: 12.03 kB / 395.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.01621, allocations: 0 / 395.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002735/0.01649, allocations: 24.84 kB / 395.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.01661, allocations: 19.98 kB / 395.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.01856, allocations: 1.292 MB / 396.7 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.197e-05/0.01864, allocations: 3.938 kB / 396.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.01866, allocations: 12.09 kB / 396.7 MB, free: 12.83 MB / 330.7 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.0001706/0.01883, allocations: 113.8 kB / 396.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.01888, allocations: 7.953 kB / 396.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.01893, allocations: 16.44 kB / 396.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01893, allocations: 3.938 kB / 396.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.01894, allocations: 0 / 396.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.01894, allocations: 3.984 kB / 396.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.01927, allocations: 141.1 kB / 397 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.01928, allocations: 0 / 397 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.01941, allocations: 19.98 kB / 397 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002011/0.01961, allocations: 24.84 kB / 397.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.01963, allocations: 4 kB / 397.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.02143, allocations: 1.292 MB / 398.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.02143, allocations: 0 / 398.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005019/0.02193, allocations: 240.3 kB / 398.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.02196, allocations: 0 / 398.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.02197, allocations: 0 / 398.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.02208, allocations: 7.938 kB / 398.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.02212, allocations: 7.984 kB / 398.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.02213, allocations: 4 kB / 398.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.634e-05/0.02222, allocations: 87.97 kB / 398.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02222, allocations: 0 / 398.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004601/0.02268, allocations: 31.89 kB / 398.7 MB, free: 10.68 MB / 330.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: 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.0001724/0.02285, allocations: 99.31 kB / 398.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005407/0.02339, allocations: 166.5 kB / 399 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.0234, allocations: 0 / 399 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.02364, allocations: 146.6 kB / 399.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.02399, allocations: 12.33 kB / 399.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007899/0.02478, allocations: 263.8 kB / 399.4 MB, free: 9.945 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.0249, allocations: 87.19 kB / 399.5 MB, free: 9.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.117e-05/0.02494, allocations: 7.984 kB / 399.5 MB, free: 9.832 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.02498, allocations: 12.5 kB / 399.5 MB, free: 9.82 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.02498, allocations: 0 / 399.5 MB, free: 9.82 MB / 330.7 MB Notification: Performance of Templates: time 0.005068/0.03005, allocations: 1.042 MB / 400.5 MB, free: 8.789 MB / 330.7 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: 5.427286613965407]