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.00158/0.00158, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.65/1.65, allocations: 230.6 MB / 252.7 MB, free: 8.109 MB / 206.1 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.0021/0.0021, allocations: 221.2 kB / 309.2 MB, free: 2.941 MB / 238.1 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.04487/0.04487, allocations: 8.915 MB / 374.6 MB, free: 1.719 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002676/0.002676, allocations: 84.3 kB / 0.4896 GB, free: 6.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3958, allocations: 55.6 MB / 0.5439 GB, free: 26.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003408/0.3992, allocations: 2.329 MB / 0.5462 GB, free: 25.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.4004, allocations: 0.5767 MB / 0.5467 GB, free: 25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.4006, allocations: 3 kB / 0.5468 GB, free: 25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.4008, allocations: 32.89 kB / 0.5468 GB, free: 24.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.4009, allocations: 70.88 kB / 0.5468 GB, free: 24.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.4012, allocations: 54.52 kB / 0.5469 GB, free: 24.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.4015, allocations: 250.4 kB / 0.5471 GB, free: 24.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.4017, allocations: 50.83 kB / 0.5472 GB, free: 24.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.4018, allocations: 98.36 kB / 0.5473 GB, free: 24.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.402, allocations: 88.73 kB / 0.5474 GB, free: 24.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.402, allocations: 18.56 kB / 0.5474 GB, free: 24.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.989e-05/0.4021, allocations: 19.25 kB / 0.5474 GB, free: 24.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.4021, allocations: 41.78 kB / 0.5474 GB, free: 24.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.4022, allocations: 95.58 kB / 0.5475 GB, free: 24.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.4025, allocations: 234.3 kB / 0.5478 GB, free: 24.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4025, allocations: 0 / 0.5478 GB, free: 24.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4025, allocations: 4 kB / 0.5478 GB, free: 24.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.4025, allocations: 0 / 0.5478 GB, free: 24.49 MB / 382.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.0008653/0.4034, allocations: 440.5 kB / 0.5482 GB, free: 24.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.4034, allocations: 16.91 kB / 0.5482 GB, free: 24.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.943e-05/0.4035, allocations: 25.33 kB / 0.5482 GB, free: 24.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.4039, allocations: 177.2 kB / 0.5484 GB, free: 23.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.4039, allocations: 13.62 kB / 0.5484 GB, free: 23.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.404, allocations: 24.66 kB / 0.5484 GB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.4044, allocations: 219.4 kB / 0.5486 GB, free: 23.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.4044, allocations: 3.984 kB / 0.5486 GB, free: 23.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.4044, allocations: 11.09 kB / 0.5487 GB, free: 23.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.4044, allocations: 3 kB / 0.5487 GB, free: 23.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.4047, allocations: 115.3 kB / 0.5488 GB, free: 23.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.4057, allocations: 0.6222 MB / 0.5494 GB, free: 23.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.406, allocations: 115 kB / 0.5495 GB, free: 23.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.558e-05/0.4061, allocations: 54.22 kB / 0.5495 GB, free: 23.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.4061, allocations: 3.281 kB / 0.5495 GB, free: 23.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.4063, allocations: 129.2 kB / 0.5497 GB, free: 23.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.4063, allocations: 0 / 0.5497 GB, free: 23.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006249/0.4069, allocations: 224.1 kB / 0.5499 GB, free: 22.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.407, allocations: 54.53 kB / 0.5499 GB, free: 22.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.4071, allocations: 165.4 kB / 0.5501 GB, free: 22.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.4071, allocations: 32.8 kB / 0.5501 GB, free: 22.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.659e-05/0.4072, allocations: 144.7 kB / 0.5503 GB, free: 22.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.4072, allocations: 48.83 kB / 0.5503 GB, free: 22.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.4073, allocations: 34.34 kB / 0.5503 GB, free: 22.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.136e-05/0.4074, allocations: 329 kB / 0.5506 GB, free: 22.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.539e-05/0.4074, allocations: 30.78 kB / 0.5507 GB, free: 22.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.552e-05/0.4075, allocations: 74.11 kB / 0.5507 GB, free: 22.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.4076, allocations: 113.4 kB / 0.5509 GB, free: 22.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.4076, allocations: 0 / 0.5509 GB, free: 22.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002604/0.4079, allocations: 183.1 kB / 0.551 GB, free: 21.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4079, allocations: 6.344 kB / 0.551 GB, free: 21.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4079, allocations: 4.125 kB / 0.551 GB, free: 21.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002015/0.4081, allocations: 35.44 kB / 0.5511 GB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.4082, allocations: 23.11 kB / 0.5511 GB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008742/0.4091, allocations: 1.346 MB / 0.5524 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.4092, allocations: 21.36 kB / 0.5524 GB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.4092, allocations: 6.125 kB / 0.5524 GB, free: 20.65 MB / 382.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 9.524e-05/0.4093, allocations: 135.2 kB / 0.5526 GB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.4093, allocations: 13.97 kB / 0.5526 GB, free: 20.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.4094, allocations: 19.98 kB / 0.5526 GB, free: 20.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4094, allocations: 7.062 kB / 0.5526 GB, free: 20.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/0.4094, allocations: 0 / 0.5526 GB, free: 20.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4094, allocations: 0 / 0.5526 GB, free: 20.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.4096, allocations: 179.5 kB / 0.5528 GB, free: 20.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4096, allocations: 0 / 0.5528 GB, free: 20.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.807e-05/0.4097, allocations: 18.66 kB / 0.5528 GB, free: 20.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.895e-05/0.4098, allocations: 38.84 kB / 0.5528 GB, free: 20.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.4098, allocations: 0 / 0.5528 GB, free: 20.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007205/0.4105, allocations: 1.35 MB / 0.5541 GB, free: 19.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4105, allocations: 0 / 0.5541 GB, free: 19.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.4108, allocations: 237.7 kB / 0.5544 GB, free: 18.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.4109, allocations: 21.47 kB / 0.5544 GB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.4109, allocations: 0 / 0.5544 GB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.811e-05/0.411, allocations: 17.55 kB / 0.5544 GB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.411, allocations: 12.88 kB / 0.5544 GB, free: 18.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.4111, allocations: 3 kB / 0.5544 GB, free: 18.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.912e-05/0.4111, allocations: 137.8 kB / 0.5546 GB, free: 18.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4111, allocations: 0 / 0.5546 GB, free: 18.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.4114, allocations: 56.92 kB / 0.5546 GB, free: 18.74 MB / 382.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 8.74e-05/0.4115, allocations: 95.28 kB / 0.5547 GB, free: 18.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003432/0.4118, allocations: 218.3 kB / 0.5549 GB, free: 18.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4118, allocations: 0 / 0.5549 GB, free: 18.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.412, allocations: 169 kB / 0.5551 GB, free: 18.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.4122, allocations: 26.84 kB / 0.5551 GB, free: 18.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006744/0.4129, allocations: 453.5 kB / 0.5555 GB, free: 18.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.176e-05/0.413, allocations: 130.2 kB / 0.5557 GB, free: 17.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.603e-05/0.413, allocations: 11.56 kB / 0.5557 GB, free: 17.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.4131, allocations: 13.5 kB / 0.5557 GB, free: 17.96 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4131, allocations: 0 / 0.5557 GB, free: 17.96 MB / 382.1 MB Notification: Performance of Templates: time 0.005922/0.419, allocations: 2.415 MB / 0.558 GB, free: 17.64 MB / 382.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: 5.568236377090216] Failed to read output from testmodel.py, exit status != 0: 0.4277467243373394 0.44090604200000005 0.035092682 Calling exit ...