Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Network.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.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") translateModel(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 182.2 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.03708/0.03708, allocations: 8.794 MB / 25.52 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.322/1.322, allocations: 222.9 MB / 251.3 MB, free: 7.492 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.001005/0.001005, allocations: 97.78 kB / 303.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.89 kB / 366 MB, free: 168 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2019, allocations: 51.55 MB / 417.5 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002185/0.2041, allocations: 1.775 MB / 419.3 MB, free: 19.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001715/0.2043, allocations: 101.3 kB / 419.4 MB, free: 19.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.2044, allocations: 4 kB / 419.4 MB, free: 19.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.486e-05/0.2044, allocations: 11.91 kB / 419.4 MB, free: 19.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.167e-05/0.2045, allocations: 31.77 kB / 419.4 MB, free: 18.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001101/0.2046, allocations: 19.98 kB / 419.5 MB, free: 18.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.005e-05/0.2047, allocations: 107.4 kB / 419.6 MB, free: 18.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.2048, allocations: 47.94 kB / 419.6 MB, free: 18.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.619e-05/0.2049, allocations: 31.94 kB / 419.7 MB, free: 18.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.557e-05/0.2049, allocations: 47.77 kB / 419.7 MB, free: 18.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.205, allocations: 4 kB / 419.7 MB, free: 18.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.845e-05/0.205, allocations: 8 kB / 419.7 MB, free: 18.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.205, allocations: 15.94 kB / 419.7 MB, free: 18.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.2051, allocations: 51.8 kB / 419.8 MB, free: 18.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.647e-05/0.2052, allocations: 113.7 kB / 419.9 MB, free: 18.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2052, allocations: 3.938 kB / 419.9 MB, free: 18.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2052, allocations: 3.984 kB / 419.9 MB, free: 18.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.976e-06/0.2052, allocations: 0 / 419.9 MB, free: 18.54 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0003151/0.2055, allocations: 383.3 kB / 420.3 MB, free: 18.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.2055, allocations: 12.02 kB / 420.3 MB, free: 18.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.2056, allocations: 12.78 kB / 420.3 MB, free: 18.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.904e-05/0.2056, allocations: 180.2 kB / 420.5 MB, free: 17.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.2057, allocations: 8.359 kB / 420.5 MB, free: 17.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.2057, allocations: 12.38 kB / 420.5 MB, free: 17.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.2058, allocations: 101.4 kB / 420.6 MB, free: 17.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2058, allocations: 192 / 420.6 MB, free: 17.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.2059, allocations: 3.938 kB / 420.6 MB, free: 17.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2059, allocations: 0 / 420.6 MB, free: 17.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.206, allocations: 63.83 kB / 420.7 MB, free: 17.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.2064, allocations: 0.4937 MB / 421.1 MB, free: 17.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.2066, allocations: 82.5 kB / 421.2 MB, free: 17.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.2067, allocations: 36.84 kB / 421.3 MB, free: 17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.2067, allocations: 8 kB / 421.3 MB, free: 16.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.2067, allocations: 38.56 kB / 421.3 MB, free: 16.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.2067, allocations: 0 / 421.3 MB, free: 16.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004167/0.2072, allocations: 231.5 kB / 421.5 MB, free: 16.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.592e-05/0.2072, allocations: 51.41 kB / 421.6 MB, free: 16.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.802e-05/0.2073, allocations: 121.8 kB / 421.7 MB, free: 16.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.2073, allocations: 25.7 kB / 421.7 MB, free: 16.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.2073, allocations: 103.9 kB / 421.8 MB, free: 16.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.2073, allocations: 31.55 kB / 421.9 MB, free: 16.33 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.2074, allocations: 21.72 kB / 421.9 MB, free: 16.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.783e-05/0.2074, allocations: 322.8 kB / 422.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.011e-05/0.2074, allocations: 16 kB / 422.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.2075, allocations: 33.7 kB / 422.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.219e-05/0.2075, allocations: 66.16 kB / 422.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2075, allocations: 0 / 422.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001599/0.2077, allocations: 114.3 kB / 422.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.2077, allocations: 6.656 kB / 422.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2077, allocations: 4 kB / 422.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.2079, allocations: 28.78 kB / 422.5 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.206e-05/0.208, allocations: 20.02 kB / 422.5 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007859/0.2088, allocations: 1.323 MB / 423.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.07e-05/0.2089, allocations: 8.094 kB / 423.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.2089, allocations: 4 kB / 423.8 MB, free: 14.2 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.192e-05/0.2089, allocations: 126.3 kB / 423.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.209, allocations: 7.906 kB / 423.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.209, allocations: 8.375 kB / 424 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.209, allocations: 3.938 kB / 424 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.209, allocations: 4 kB / 424 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.209, allocations: 0 / 424 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.2092, allocations: 205.5 kB / 424.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.2092, allocations: 0 / 424.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-05/0.2093, allocations: 12 kB / 424.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.281e-05/0.2094, allocations: 24.84 kB / 424.2 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2094, allocations: 4 kB / 424.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006383/0.21, allocations: 1.327 MB / 425.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2101, allocations: 0 / 425.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.2118, allocations: 2.718 MB / 428.2 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.2118, allocations: 84.95 kB / 428.3 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-06/0.2118, allocations: 8.031 kB / 428.3 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.178e-05/0.2119, allocations: 4.125 kB / 428.3 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.2119, allocations: 7.984 kB / 428.4 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.2119, allocations: 0 / 428.4 MB, free: 9.164 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.856e-05/0.212, allocations: 99.23 kB / 428.4 MB, free: 9.066 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.212, allocations: 4 kB / 428.5 MB, free: 9.062 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000312/0.2123, allocations: 43.94 kB / 428.5 MB, free: 9.02 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 5.479e-05/0.2123, allocations: 95.25 kB / 428.6 MB, free: 8.918 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.2125, allocations: 170.5 kB / 428.8 MB, free: 8.738 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2125, allocations: 0 / 428.8 MB, free: 8.738 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.114e-05/0.2126, allocations: 146.6 kB / 428.9 MB, free: 8.582 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.2129, allocations: 12.7 kB / 428.9 MB, free: 8.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005279/0.2135, allocations: 0.573 MB / 429.5 MB, free: 7.945 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.2136, allocations: 0.7043 MB / 430.2 MB, free: 7.215 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.857e-05/0.2136, allocations: 8.656 kB / 430.2 MB, free: 7.203 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.2137, allocations: 15.44 kB / 430.2 MB, free: 7.188 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2137, allocations: 0 / 430.2 MB, free: 7.188 MB / 298.7 MB Notification: Performance of Templates: time 0.002615/0.2163, allocations: 1.408 MB / 431.6 MB, free: 5.797 MB / 298.7 MB make -j1 -f HanserModelica_HanserModelica.Thermal.Network.makefile (rm -f HanserModelica_HanserModelica.Thermal.Network.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Network.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Network.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Network.sim & ./HanserModelica_HanserModelica.Thermal.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1)