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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Thermal.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") translateModel(HanserModelica.Thermal.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03925/0.03925, allocations: 8.794 MB / 25.53 MB, free: 3.754 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 251.3 MB, free: 7.363 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000938/0.000938, allocations: 109.8 kB / 303.6 MB, free: 14.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.89 kB / 366 MB, free: 168 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1905, allocations: 51.54 MB / 417.5 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.002816/0.1933, allocations: 2.466 MB / 420 MB, free: 18.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006363/0.194, allocations: 0.5783 MB / 420.6 MB, free: 17.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.701e-05/0.1941, allocations: 0 / 420.6 MB, free: 17.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.1942, allocations: 27.78 kB / 420.6 MB, free: 17.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.1943, allocations: 59.52 kB / 420.7 MB, free: 17.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.1945, allocations: 51.91 kB / 420.7 MB, free: 17.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.1947, allocations: 242.8 kB / 420.9 MB, free: 17.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.1948, allocations: 66.81 kB / 421 MB, free: 17.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.659e-05/0.1949, allocations: 91.58 kB / 421.1 MB, free: 17.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.195, allocations: 87.56 kB / 421.2 MB, free: 17.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.1951, allocations: 20 kB / 421.2 MB, free: 17.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.02e-05/0.1951, allocations: 12 kB / 421.2 MB, free: 17.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.1951, allocations: 35.84 kB / 421.3 MB, free: 17.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.321e-05/0.1952, allocations: 107.5 kB / 421.4 MB, free: 17.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.1954, allocations: 215.2 kB / 421.6 MB, free: 16.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1954, allocations: 0 / 421.6 MB, free: 16.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1954, allocations: 0 / 421.6 MB, free: 16.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1954, allocations: 0 / 421.6 MB, free: 16.86 MB / 298.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.0005875/0.196, allocations: 0.5044 MB / 422.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.196, allocations: 8.031 kB / 422.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.1961, allocations: 24.66 kB / 422.1 MB, free: 16.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.1963, allocations: 229.7 kB / 422.3 MB, free: 16.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1963, allocations: 20.33 kB / 422.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.1963, allocations: 20.31 kB / 422.4 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.1966, allocations: 195.5 kB / 422.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1966, allocations: 4 kB / 422.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.1966, allocations: 8 kB / 422.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1966, allocations: 7.984 kB / 422.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.1968, allocations: 115.9 kB / 422.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008123/0.1976, allocations: 0.744 MB / 423.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.1979, allocations: 146.7 kB / 423.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.663e-05/0.198, allocations: 52.84 kB / 423.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.198, allocations: 0 / 423.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.1982, allocations: 93.98 kB / 423.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.1982, allocations: 0 / 423.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.000579/0.1988, allocations: 295.3 kB / 424 MB, free: 14.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.1988, allocations: 55.41 kB / 424.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.1989, allocations: 183.1 kB / 424.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.1989, allocations: 29.7 kB / 424.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.199, allocations: 136.2 kB / 424.4 MB, free: 13.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.199, allocations: 47.3 kB / 424.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.1991, allocations: 41.61 kB / 424.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.743e-05/0.1991, allocations: 334.8 kB / 424.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.782e-05/0.1992, allocations: 35.94 kB / 424.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.409e-05/0.1993, allocations: 68.27 kB / 424.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.1994, allocations: 115.6 kB / 425 MB, free: 13.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1994, allocations: 0 / 425 MB, free: 13.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002439/0.1997, allocations: 182.1 kB / 425.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1997, allocations: 4 kB / 425.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1997, allocations: 7.984 kB / 425.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.1999, allocations: 36.97 kB / 425.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.489e-05/0.2, allocations: 27.92 kB / 425.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006988/0.2007, allocations: 1.351 MB / 426.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.907e-05/0.2008, allocations: 27.92 kB / 426.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.2008, allocations: 8 kB / 426.7 MB, free: 11.32 MB / 298.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 7.137e-05/0.2009, allocations: 130.5 kB / 426.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.2009, allocations: 19.8 kB / 426.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.2009, allocations: 25.52 kB / 426.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2009, allocations: 7.875 kB / 426.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.201, allocations: 0 / 426.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.201, allocations: 8 kB / 426.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.2011, allocations: 257.4 kB / 427.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2011, allocations: 0 / 427.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.272e-05/0.2012, allocations: 31.88 kB / 427.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.255e-05/0.2013, allocations: 32.83 kB / 427.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.2013, allocations: 4 kB / 427.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006568/0.202, allocations: 1.355 MB / 428.5 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.202, allocations: 0 / 428.5 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.2043, allocations: 3.049 MB / 431.6 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.2044, allocations: 104.9 kB / 431.7 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.2044, allocations: 4 kB / 431.7 MB, free: 5.793 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.2045, allocations: 19.86 kB / 431.7 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.2046, allocations: 11.98 kB / 431.7 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.2046, allocations: 4 kB / 431.7 MB, free: 5.758 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.853e-05/0.2047, allocations: 141.1 kB / 431.9 MB, free: 5.621 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2047, allocations: 128 / 431.9 MB, free: 5.621 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003317/0.205, allocations: 83.84 kB / 431.9 MB, free: 5.539 MB / 298.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 8.174e-05/0.2051, allocations: 99.23 kB / 432 MB, free: 5.434 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003079/0.2054, allocations: 233.5 kB / 432.3 MB, free: 5.195 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2054, allocations: 0 / 432.3 MB, free: 5.195 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.2056, allocations: 166.9 kB / 432.4 MB, free: 5.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.2058, allocations: 40.11 kB / 432.5 MB, free: 4.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007828/0.2066, allocations: 0.7693 MB / 433.2 MB, free: 4.164 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.2068, allocations: 0.7401 MB / 434 MB, free: 3.398 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.697e-05/0.2068, allocations: 17.53 kB / 434 MB, free: 3.379 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.2069, allocations: 19.44 kB / 434 MB, free: 3.363 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2069, allocations: 96 / 434 MB, free: 3.363 MB / 298.7 MB Notification: Performance of Templates: time 0.004389/0.2113, allocations: 2.599 MB / 436.6 MB, free: 0.7891 MB / 298.7 MB make -j1 -f HanserModelica_HanserModelica.Thermal.Coupling.makefile (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)