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.001832/0.001832, allocations: 85.48 kB / 19.44 MB, free: 344 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.617/1.617, allocations: 177.1 MB / 199.7 MB, free: 5.777 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.002077/0.002077, allocations: 160.6 kB / 256.3 MB, free: 13.16 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.041/0.041, allocations: 6.655 MB / 319.4 MB, free: 26.58 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.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.362e-06/1.362e-06, allocations: 0 / 390.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.068e-05/3.204e-05, allocations: 2.312 kB / 390.9 MB, free: 2.992 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.004419/0.004451, allocations: 2.441 MB / 393.3 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.005715, allocations: 0.6037 MB / 393.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.005833, allocations: 8 kB / 394 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.005991, allocations: 31.7 kB / 394 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.006163, allocations: 79.27 kB / 394.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.006386, allocations: 55.86 kB / 394.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003564/0.006743, allocations: 258.5 kB / 394.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.006927, allocations: 68.23 kB / 394.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.007124, allocations: 131.7 kB / 394.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.007295, allocations: 83.78 kB / 394.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.007336, allocations: 16 kB / 394.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.682e-05/0.007383, allocations: 20 kB / 394.7 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.007449, allocations: 43.83 kB / 394.7 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.00756, allocations: 75.78 kB / 394.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.007909, allocations: 231.2 kB / 395 MB, free: 14.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.007913, allocations: 0 / 395 MB, free: 14.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007914, allocations: 0 / 395 MB, free: 14.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.00792, allocations: 4 kB / 395 MB, free: 14.84 MB / 330.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.0009097/0.00883, allocations: 0.5344 MB / 395.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.00887, allocations: 8.031 kB / 395.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.347e-05/0.008963, allocations: 40.78 kB / 395.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.009266, allocations: 188.1 kB / 395.8 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.009285, allocations: 12.38 kB / 395.8 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.009326, allocations: 16.38 kB / 395.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003905/0.009717, allocations: 231.1 kB / 396 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.009733, allocations: 4.125 kB / 396 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.009752, allocations: 4.375 kB / 396.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.009761, allocations: 11.94 kB / 396.1 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.01002, allocations: 111.9 kB / 396.2 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.01133, allocations: 0.7659 MB / 396.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.01166, allocations: 139.2 kB / 397.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.01176, allocations: 51.67 kB / 397.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.01178, allocations: 4 kB / 397.1 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/0.01198, allocations: 122.7 kB / 397.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.01198, allocations: 0 / 397.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007073/0.01269, allocations: 228.4 kB / 397.5 MB, free: 12.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.01274, allocations: 55.41 kB / 397.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.01298, allocations: 242.4 kB / 397.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.01301, allocations: 25.7 kB / 397.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.01317, allocations: 195.1 kB / 398 MB, free: 11.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/0.01324, allocations: 55.53 kB / 398 MB, free: 11.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.694e-05/0.01332, allocations: 55.25 kB / 398.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003039/0.01363, allocations: 0.4962 MB / 398.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.01375, allocations: 31.98 kB / 398.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.01393, allocations: 90.41 kB / 398.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.01417, allocations: 126.4 kB / 398.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01417, allocations: 4 kB / 398.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003828/0.01456, allocations: 193 kB / 399 MB, free: 10.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.01457, allocations: 4 kB / 399 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.01458, allocations: 0 / 399 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002627/0.01484, allocations: 43.66 kB / 399.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/0.01528, allocations: 27.92 kB / 399.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.01713, allocations: 1.858 MB / 401 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.01724, allocations: 27.8 kB / 401 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.01725, allocations: 4 kB / 401 MB, free: 8.453 MB / 330.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 0.0001882/0.01744, allocations: 180.5 kB / 401.2 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.01747, allocations: 19.91 kB / 401.2 MB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.01752, allocations: 21.45 kB / 401.2 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.01752, allocations: 4.031 kB / 401.2 MB, free: 8.227 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.01752, allocations: 4 kB / 401.2 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.01753, allocations: 3.938 kB / 401.2 MB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.01782, allocations: 208.5 kB / 401.4 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.01782, allocations: 7.984 kB / 401.4 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.01793, allocations: 16 kB / 401.4 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001622/0.01809, allocations: 39.66 kB / 401.5 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.01811, allocations: 4 kB / 401.5 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.01978, allocations: 1.857 MB / 403.3 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01978, allocations: 0 / 403.3 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004921/0.02028, allocations: 255.6 kB / 403.6 MB, free: 5.656 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/0.02034, allocations: 23.88 kB / 403.6 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.02037, allocations: 8 kB / 403.6 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.182e-05/0.02046, allocations: 4 kB / 403.6 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.02053, allocations: 15.97 kB / 403.6 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.02054, allocations: 4.062 kB / 403.6 MB, free: 5.602 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001575/0.0207, allocations: 179.1 kB / 403.8 MB, free: 5.426 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0207, allocations: 0 / 403.8 MB, free: 5.426 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002973/0.021, allocations: 59.83 kB / 403.9 MB, free: 5.367 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: 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 0.0001437/0.02114, allocations: 99.19 kB / 404 MB, free: 5.258 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005044/0.02164, allocations: 296.4 kB / 404.3 MB, free: 4.949 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.02165, allocations: 0 / 404.3 MB, free: 4.949 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002831/0.02193, allocations: 249.6 kB / 404.5 MB, free: 4.684 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.02221, allocations: 31.92 kB / 404.5 MB, free: 4.652 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008481/0.02306, allocations: 406.6 kB / 404.9 MB, free: 4.227 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.02319, allocations: 120.9 kB / 405.1 MB, free: 4.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.187e-05/0.02325, allocations: 17.47 kB / 405.1 MB, free: 4.074 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.0233, allocations: 16.5 kB / 405.1 MB, free: 4.059 MB / 330.7 MB Notification: Performance of SimCode: time 4.5e-07/0.0233, allocations: 0 / 405.1 MB, free: 4.059 MB / 330.7 MB Notification: Performance of Templates: time 0.007119/0.03041, allocations: 2.223 MB / 407.3 MB, free: 1.875 MB / 330.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: 5.088303052005358]