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.001309/0.001309, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.443/1.443, allocations: 230.6 MB / 253.4 MB, free: 8.266 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.001679/0.001679, allocations: 205.6 kB / 310 MB, free: 3.129 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.04062/0.04062, allocations: 8.917 MB / 375.3 MB, free: 1.879 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.002857/0.002857, allocations: 91.86 kB / 0.4904 GB, free: 6.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3103, allocations: 55.59 MB / 0.5447 GB, free: 27.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003031/0.3134, allocations: 2.481 MB / 0.5471 GB, free: 25.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009642/0.3143, allocations: 0.6148 MB / 0.5477 GB, free: 24.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.3144, allocations: 6.875 kB / 0.5478 GB, free: 24.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.3146, allocations: 29.27 kB / 0.5478 GB, free: 24.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.3147, allocations: 74.69 kB / 0.5478 GB, free: 24.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.3149, allocations: 59.88 kB / 0.5479 GB, free: 24.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.3152, allocations: 246.2 kB / 0.5481 GB, free: 24.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.3153, allocations: 63.77 kB / 0.5482 GB, free: 24.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.266e-05/0.3154, allocations: 91.36 kB / 0.5483 GB, free: 24.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.3156, allocations: 98.66 kB / 0.5484 GB, free: 24.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.3156, allocations: 19 kB / 0.5484 GB, free: 24.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.13e-05/0.3156, allocations: 15.59 kB / 0.5484 GB, free: 24.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.471e-05/0.3156, allocations: 45.2 kB / 0.5485 GB, free: 24.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.457e-05/0.3157, allocations: 111.1 kB / 0.5486 GB, free: 24.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.316, allocations: 235.6 kB / 0.5488 GB, free: 24.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.316, allocations: 0 / 0.5488 GB, free: 24.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.316, allocations: 0 / 0.5488 GB, free: 24.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.316, allocations: 0 / 0.5488 GB, free: 24.41 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.0006725/0.3166, allocations: 437 kB / 0.5492 GB, free: 24.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3167, allocations: 9.719 kB / 0.5492 GB, free: 24.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.3167, allocations: 25.64 kB / 0.5492 GB, free: 24.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.317, allocations: 183.4 kB / 0.5494 GB, free: 23.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.317, allocations: 17.94 kB / 0.5494 GB, free: 23.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.317, allocations: 14.12 kB / 0.5494 GB, free: 23.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.3173, allocations: 198.4 kB / 0.5496 GB, free: 23.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.3173, allocations: 3.031 kB / 0.5496 GB, free: 23.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.3173, allocations: 4 kB / 0.5496 GB, free: 23.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3173, allocations: 5.938 kB / 0.5496 GB, free: 23.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.3175, allocations: 111 kB / 0.5498 GB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/0.3184, allocations: 0.707 MB / 0.5504 GB, free: 23.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.3187, allocations: 125.6 kB / 0.5506 GB, free: 23.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.58e-05/0.3187, allocations: 46.36 kB / 0.5506 GB, free: 23.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.3187, allocations: 10.58 kB / 0.5506 GB, free: 23.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.3189, allocations: 94 kB / 0.5507 GB, free: 23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.3189, allocations: 0 / 0.5507 GB, free: 23 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005665/0.3194, allocations: 216.5 kB / 0.5509 GB, free: 22.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.3195, allocations: 61.75 kB / 0.551 GB, free: 22.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.3196, allocations: 187.9 kB / 0.5512 GB, free: 22.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.3196, allocations: 25.7 kB / 0.5512 GB, free: 22.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.3197, allocations: 142.8 kB / 0.5513 GB, free: 22.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.3197, allocations: 52.81 kB / 0.5514 GB, free: 22.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.3198, allocations: 36.03 kB / 0.5514 GB, free: 22.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.3198, allocations: 328.5 kB / 0.5517 GB, free: 22.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.107e-05/0.3199, allocations: 38.34 kB / 0.5517 GB, free: 22.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.479e-05/0.3199, allocations: 70.23 kB / 0.5518 GB, free: 22.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.32, allocations: 110 kB / 0.5519 GB, free: 22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.3201, allocations: 7.281 kB / 0.5519 GB, free: 22 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000259/0.3203, allocations: 181.9 kB / 0.5521 GB, free: 21.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3203, allocations: 5.562 kB / 0.5521 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3203, allocations: 4.125 kB / 0.5521 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001816/0.3205, allocations: 37.5 kB / 0.5521 GB, free: 21.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3206, allocations: 26.7 kB / 0.5522 GB, free: 21.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008138/0.3214, allocations: 1.368 MB / 0.5535 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.3215, allocations: 21.34 kB / 0.5535 GB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.3215, allocations: 6.094 kB / 0.5535 GB, free: 20.53 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 8.579e-05/0.3216, allocations: 135 kB / 0.5537 GB, free: 20.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.3217, allocations: 18.56 kB / 0.5537 GB, free: 20.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.3217, allocations: 23.88 kB / 0.5537 GB, free: 20.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3217, allocations: 3.5 kB / 0.5537 GB, free: 20.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3217, allocations: 4 kB / 0.5537 GB, free: 20.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3217, allocations: 0 / 0.5537 GB, free: 20.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.3219, allocations: 227.8 kB / 0.5539 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3219, allocations: 0 / 0.5539 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.69e-05/0.322, allocations: 23.06 kB / 0.5539 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.541e-05/0.3221, allocations: 35.48 kB / 0.554 GB, free: 20.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3221, allocations: 7.984 kB / 0.554 GB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006938/0.3228, allocations: 1.361 MB / 0.5553 GB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3228, allocations: 8 kB / 0.5553 GB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.3231, allocations: 231.7 kB / 0.5555 GB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.3231, allocations: 25.58 kB / 0.5556 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.3231, allocations: 7.031 kB / 0.5556 GB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.3232, allocations: 10.5 kB / 0.5556 GB, free: 18.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.3233, allocations: 17.39 kB / 0.5556 GB, free: 18.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.3233, allocations: 7.156 kB / 0.5556 GB, free: 18.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.399e-05/0.3234, allocations: 133 kB / 0.5557 GB, free: 18.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3234, allocations: 0 / 0.5557 GB, free: 18.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.3236, allocations: 55.27 kB / 0.5558 GB, free: 18.54 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.38e-05/0.3237, allocations: 99.48 kB / 0.5559 GB, free: 18.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000335/0.324, allocations: 217.6 kB / 0.5561 GB, free: 18.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.324, allocations: 3.938 kB / 0.5561 GB, free: 18.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.3242, allocations: 163 kB / 0.5563 GB, free: 18.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.3245, allocations: 48.62 kB / 0.5563 GB, free: 18.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/0.3251, allocations: 474.5 kB / 0.5568 GB, free: 17.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.3253, allocations: 0.737 MB / 0.5575 GB, free: 17.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.3253, allocations: 16.59 kB / 0.5575 GB, free: 17.11 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3253, allocations: 0 / 0.5575 GB, free: 17.11 MB / 382.1 MB Notification: Performance of Templates: time 0.004692/0.33, allocations: 3.028 MB / 0.5604 GB, free: 16.85 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: 7.874056375119835] Failed to read output from testmodel.py, exit status != 0: 0.33850433700717986 0.35225406200000003 0.033430393 Calling exit ...