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.00142/0.00142, allocations: 80.69 kB / 19.18 MB, free: 2.516 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.436/1.436, allocations: 177.1 MB / 199.4 MB, free: 8.453 MB / 190.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.001544/0.001544, allocations: 157.2 kB / 256 MB, free: 4.34 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.03896/0.03896, allocations: 6.663 MB / 319 MB, free: 5.398 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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 445.9 MB, free: 25.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.845e-05, allocations: 6.219 kB / 445.9 MB, free: 25.22 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.002766/0.002795, allocations: 2.329 MB / 448.2 MB, free: 22.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009445/0.003739, allocations: 0.5804 MB / 448.8 MB, free: 22.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.0039, allocations: 15.88 kB / 448.8 MB, free: 22.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.004036, allocations: 31.7 kB / 448.8 MB, free: 22.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.004203, allocations: 79.27 kB / 448.9 MB, free: 22.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.004411, allocations: 59.8 kB / 449 MB, free: 22.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.00467, allocations: 254.6 kB / 449.2 MB, free: 21.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.004818, allocations: 60.55 kB / 449.3 MB, free: 21.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.00498, allocations: 135.7 kB / 449.4 MB, free: 21.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.005112, allocations: 71.78 kB / 449.5 MB, free: 21.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.00515, allocations: 20 kB / 449.5 MB, free: 21.58 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.463e-05/0.005184, allocations: 20 kB / 449.5 MB, free: 21.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.005232, allocations: 43.83 kB / 449.6 MB, free: 21.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.268e-05/0.005315, allocations: 79.77 kB / 449.6 MB, free: 21.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.005531, allocations: 235.2 kB / 449.9 MB, free: 21.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005534, allocations: 0 / 449.9 MB, free: 21.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005535, allocations: 0 / 449.9 MB, free: 21.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.005542, allocations: 0 / 449.9 MB, free: 21.21 MB / 334.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.0006529/0.006194, allocations: 449.2 kB / 450.3 MB, free: 20.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.00623, allocations: 11.98 kB / 450.3 MB, free: 20.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.006287, allocations: 28.8 kB / 450.3 MB, free: 20.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.006552, allocations: 174.1 kB / 450.5 MB, free: 20.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.006569, allocations: 12.38 kB / 450.5 MB, free: 20.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.006609, allocations: 16.38 kB / 450.5 MB, free: 20.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.006902, allocations: 217.5 kB / 450.8 MB, free: 20.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.006917, allocations: 192 / 450.8 MB, free: 20.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.006939, allocations: 4.375 kB / 450.8 MB, free: 20.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.006946, allocations: 11.94 kB / 450.8 MB, free: 20.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.007142, allocations: 115.9 kB / 450.9 MB, free: 20.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009158/0.008058, allocations: 0.6195 MB / 451.5 MB, free: 19.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.008326, allocations: 114.8 kB / 451.6 MB, free: 19.33 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.064e-05/0.008407, allocations: 56.77 kB / 451.7 MB, free: 19.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.008426, allocations: 4 kB / 451.7 MB, free: 19.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.008566, allocations: 125 kB / 451.8 MB, free: 19.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.008568, allocations: 0 / 451.8 MB, free: 19.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005986/0.009166, allocations: 206.2 kB / 452 MB, free: 18.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.009194, allocations: 55.41 kB / 452.1 MB, free: 18.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.009313, allocations: 174.2 kB / 452.2 MB, free: 18.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.009328, allocations: 33.7 kB / 452.3 MB, free: 18.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.009385, allocations: 140.4 kB / 452.4 MB, free: 18.49 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.009416, allocations: 55.52 kB / 452.5 MB, free: 18.44 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.009469, allocations: 37.66 kB / 452.5 MB, free: 18.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 5.326e-05/0.009522, allocations: 330.8 kB / 452.8 MB, free: 18.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.584e-05/0.009588, allocations: 35.98 kB / 452.8 MB, free: 18.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.151e-05/0.009659, allocations: 67.03 kB / 452.9 MB, free: 17.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.00979, allocations: 114.9 kB / 453 MB, free: 17.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.009793, allocations: 4 kB / 453 MB, free: 17.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002732/0.01007, allocations: 186.1 kB / 453.2 MB, free: 17.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.01008, allocations: 4 kB / 453.2 MB, free: 17.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01009, allocations: 0 / 453.2 MB, free: 17.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002096/0.0103, allocations: 36.83 kB / 453.3 MB, free: 17.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.0104, allocations: 20 kB / 453.3 MB, free: 17.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008531/0.01125, allocations: 1.343 MB / 454.6 MB, free: 16.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.01136, allocations: 19.81 kB / 454.6 MB, free: 16.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.01137, allocations: 8 kB / 454.6 MB, free: 16.08 MB / 334.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.788e-05/0.01146, allocations: 129.8 kB / 454.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.01148, allocations: 15.91 kB / 454.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.01151, allocations: 21.47 kB / 454.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.01151, allocations: 4 kB / 454.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01152, allocations: 4.062 kB / 454.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.01152, allocations: 7.922 kB / 454.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.01167, allocations: 169.2 kB / 455 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01167, allocations: 0 / 455 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.01178, allocations: 23.98 kB / 455 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.01188, allocations: 28.84 kB / 455 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.01189, allocations: 7.984 kB / 455 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007043/0.0126, allocations: 1.343 MB / 456.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.0126, allocations: 0 / 456.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.01293, allocations: 240 kB / 456.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.01298, allocations: 23.92 kB / 456.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.013, allocations: 3.984 kB / 456.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.0131, allocations: 8 kB / 456.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.01316, allocations: 19.91 kB / 456.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.01317, allocations: 4 kB / 456.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.453e-05/0.01323, allocations: 127.2 kB / 456.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01323, allocations: 4.125 kB / 456.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00026/0.01349, allocations: 51.95 kB / 456.9 MB, free: 13.7 MB / 334.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 9.376e-05/0.01358, allocations: 107.2 kB / 457 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003322/0.01392, allocations: 210.6 kB / 457.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01392, allocations: 0 / 457.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.01407, allocations: 166.8 kB / 457.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.01435, allocations: 48.41 kB / 457.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007468/0.01509, allocations: 398.1 kB / 457.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.39e-05/0.01519, allocations: 120.9 kB / 457.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.858e-05/0.01526, allocations: 17.48 kB / 457.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.0153, allocations: 16.5 kB / 457.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of SimCode: time 7.41e-07/0.0153, allocations: 0 / 457.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of Templates: time 0.005898/0.0212, allocations: 2.17 MB / 460.1 MB, free: 10.44 MB / 334.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: 4.552566710859537] Failed to read output from testmodel.py, exit status != 0: 0.028485506772994995 0.040811808000000005 0.032059752000000004 Calling exit ...