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.004786/0.004786, allocations: 173.2 kB / 15.12 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03756/0.03756, allocations: 8.802 MB / 24.65 MB, free: 4.133 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.207/1.207, allocations: 223.2 MB / 250.7 MB, free: 6.562 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.0008128/0.0008128, allocations: 102.4 kB / 304 MB, free: 4.035 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 12 kB / 367.1 MB, free: 4.969 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2106, allocations: 52.53 MB / 419.6 MB, free: 48.09 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0855/0.2962, allocations: 80.3 MB / 499.9 MB, free: 8.824 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001796/0.2964, allocations: 67.95 kB / 500 MB, free: 8.758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008431/0.3048, allocations: 3.452 MB / 0.4916 GB, free: 5.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3049, allocations: 3.938 kB / 0.4916 GB, free: 5.316 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.3049, allocations: 7.984 kB / 0.4916 GB, free: 5.309 MB / 362.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.0006198/0.3055, allocations: 490.5 kB / 0.4921 GB, free: 4.781 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3056, allocations: 8.562 kB / 0.4921 GB, free: 4.773 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.3056, allocations: 27.72 kB / 0.4921 GB, free: 4.746 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.3059, allocations: 218.7 kB / 0.4923 GB, free: 4.492 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.3059, allocations: 11.23 kB / 0.4924 GB, free: 4.484 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.3059, allocations: 24 kB / 0.4924 GB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.3062, allocations: 195.1 kB / 0.4926 GB, free: 4.258 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3063, allocations: 0 / 0.4926 GB, free: 4.258 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.3063, allocations: 8 kB / 0.4926 GB, free: 4.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3063, allocations: 4 kB / 0.4926 GB, free: 4.246 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.3065, allocations: 119.9 kB / 0.4927 GB, free: 4.129 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.3075, allocations: 0.748 MB / 0.4934 GB, free: 3.312 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.3078, allocations: 122.8 kB / 0.4935 GB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.3078, allocations: 7.938 kB / 0.4935 GB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.308, allocations: 91.38 kB / 0.4936 GB, free: 3.074 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.308, allocations: 0 / 0.4936 GB, free: 3.074 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005865/0.3086, allocations: 296.9 kB / 0.4939 GB, free: 2.758 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.3087, allocations: 51.41 kB / 0.494 GB, free: 2.695 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.3088, allocations: 166.3 kB / 0.4941 GB, free: 2.523 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.3089, allocations: 37.69 kB / 0.4942 GB, free: 2.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.3089, allocations: 132.2 kB / 0.4943 GB, free: 2.348 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.309, allocations: 51.34 kB / 0.4943 GB, free: 2.297 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.309, allocations: 4 kB / 0.4943 GB, free: 2.293 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3091, allocations: 326.8 kB / 0.4946 GB, free: 1.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.228e-05/0.3092, allocations: 31.98 kB / 0.4947 GB, free: 1.934 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.3093, allocations: 68.8 kB / 0.4947 GB, free: 1.855 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.202e-05/0.3093, allocations: 38.39 kB / 0.4948 GB, free: 1.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3093, allocations: 3.938 kB / 0.4948 GB, free: 1.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00029/0.3096, allocations: 170.2 kB / 0.4949 GB, free: 1.641 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3097, allocations: 8.625 kB / 0.495 GB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3097, allocations: 0 / 0.495 GB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.3099, allocations: 40.92 kB / 0.495 GB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.31, allocations: 27.92 kB / 0.495 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.3111, allocations: 1.371 MB / 0.4964 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.3112, allocations: 15.84 kB / 0.4964 GB, free: 36 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.3112, allocations: 8 kB / 0.4964 GB, free: 28 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.3113, allocations: 129.8 kB / 0.4965 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.3113, allocations: 27.67 kB / 0.4965 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.3114, allocations: 25.59 kB / 0.4966 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.3114, allocations: 4 kB / 0.4966 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3114, allocations: 0 / 0.4966 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3114, allocations: 3.938 kB / 0.4966 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.3116, allocations: 265.3 kB / 0.4968 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3117, allocations: 4 kB / 0.4968 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3118, allocations: 15.98 kB / 0.4968 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/0.3119, allocations: 32.84 kB / 0.4969 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3119, allocations: 0 / 0.4969 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009577/0.3129, allocations: 1.371 MB / 0.4982 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3129, allocations: 0 / 0.4982 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.3132, allocations: 247.9 kB / 0.4984 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.141e-05/0.3133, allocations: 100.9 kB / 0.4985 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.3134, allocations: 4 kB / 0.4985 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.3135, allocations: 15.98 kB / 0.4986 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.3135, allocations: 7.984 kB / 0.4986 GB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.3136, allocations: 8.062 kB / 0.4986 GB, free: 13.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.492e-05/0.3137, allocations: 145.2 kB / 0.4987 GB, free: 13.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3137, allocations: 0 / 0.4987 GB, free: 13.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002446/0.3139, allocations: 55.84 kB / 0.4988 GB, free: 13.36 MB / 378.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,booleanPulse.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001065/0.314, allocations: 95.19 kB / 0.4989 GB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003351/0.3144, allocations: 223.2 kB / 0.4991 GB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3144, allocations: 0 / 0.4991 GB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.3146, allocations: 174.6 kB / 0.4992 GB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.3148, allocations: 28.17 kB / 0.4993 GB, free: 12.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006986/0.3155, allocations: 0.5377 MB / 0.4998 GB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.3158, allocations: 0.74 MB / 0.5005 GB, free: 11.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.015e-05/0.3158, allocations: 21.48 kB / 0.5005 GB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.3159, allocations: 15.44 kB / 0.5005 GB, free: 11.45 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3159, allocations: 0 / 0.5005 GB, free: 11.45 MB / 378.7 MB Notification: Performance of Templates: time 0.004372/0.3203, allocations: 2.056 MB / 0.5026 GB, free: 9.426 MB / 378.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)