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.0.0+maint.om/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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 104.8 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 239.6 MB, free: 4.699 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 200.4 kB / 289.9 MB, free: 2.434 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03431/0.03431, allocations: 8.784 MB / 348.8 MB, free: 4.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 77.33 kB / 411.2 MB, free: 42.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08337/0.08487, allocations: 51.57 MB / 462.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003436/0.08835, allocations: 2.46 MB / 465.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009347/0.08931, allocations: 0.5766 MB / 465.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.08943, allocations: 4 kB / 465.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.08958, allocations: 23.83 kB / 465.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.08971, allocations: 63.47 kB / 465.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.08989, allocations: 39.97 kB / 466 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.09014, allocations: 254.7 kB / 466.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.09031, allocations: 80.25 kB / 466.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.09042, allocations: 87.66 kB / 466.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.09056, allocations: 107.5 kB / 466.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.09059, allocations: 16 kB / 466.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.274e-05/0.09063, allocations: 20 kB / 466.5 MB, free: 11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.682e-05/0.09067, allocations: 39.84 kB / 466.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.09078, allocations: 107.5 kB / 466.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.09097, allocations: 175.7 kB / 466.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.09098, allocations: 0 / 466.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.09099, allocations: 3.938 kB / 466.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.091, allocations: 0 / 466.8 MB, free: 10.68 MB / 302.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.0007011/0.09171, allocations: 0.4986 MB / 467.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.09174, allocations: 8.031 kB / 467.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.09181, allocations: 24.66 kB / 467.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.09205, allocations: 237.4 kB / 467.6 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.09208, allocations: 16.33 kB / 467.6 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.09212, allocations: 16.38 kB / 467.6 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.09244, allocations: 195.6 kB / 467.8 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.09246, allocations: 0 / 467.8 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.09249, allocations: 4 kB / 467.8 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.0925, allocations: 8 kB / 467.8 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.09272, allocations: 123.8 kB / 468 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.0938, allocations: 0.744 MB / 468.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.09409, allocations: 130.7 kB / 468.8 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.892e-05/0.09419, allocations: 52.83 kB / 468.9 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.09421, allocations: 4 kB / 468.9 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.09443, allocations: 99.31 kB / 469 MB, free: 8.348 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.09445, allocations: 4 kB / 469 MB, free: 8.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006144/0.09507, allocations: 289 kB / 469.3 MB, free: 8.035 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.09511, allocations: 59.39 kB / 469.3 MB, free: 7.965 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.09528, allocations: 183.1 kB / 469.5 MB, free: 7.773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.09532, allocations: 33.69 kB / 469.5 MB, free: 7.734 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.886e-05/0.09542, allocations: 140.2 kB / 469.7 MB, free: 7.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.09547, allocations: 47.27 kB / 469.7 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/0.09553, allocations: 37.7 kB / 469.8 MB, free: 7.504 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.09565, allocations: 326.8 kB / 470.1 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.861e-05/0.09573, allocations: 39.88 kB / 470.1 MB, free: 7.137 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.976e-05/0.09582, allocations: 74.84 kB / 470.2 MB, free: 7.051 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.09599, allocations: 114.6 kB / 470.3 MB, free: 6.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.096, allocations: 3.984 kB / 470.3 MB, free: 6.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002976/0.0963, allocations: 186.2 kB / 470.5 MB, free: 6.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.09632, allocations: 4 kB / 470.5 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.09633, allocations: 4 kB / 470.5 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001696/0.09651, allocations: 28.84 kB / 470.5 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.09663, allocations: 27.98 kB / 470.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.09779, allocations: 1.469 MB / 472 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.09792, allocations: 23.86 kB / 472.1 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.09794, allocations: 12.06 kB / 472.1 MB, free: 5.02 MB / 302.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 0.0001093/0.09806, allocations: 137.7 kB / 472.2 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.0981, allocations: 19.75 kB / 472.2 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.135e-05/0.09815, allocations: 17.53 kB / 472.2 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.09815, allocations: 0 / 472.2 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.09816, allocations: 0 / 472.2 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.09817, allocations: 7.984 kB / 472.2 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.0984, allocations: 253.5 kB / 472.5 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.09841, allocations: 4 kB / 472.5 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.09852, allocations: 19.98 kB / 472.5 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001163/0.09864, allocations: 44.7 kB / 472.6 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.09867, allocations: 0 / 472.6 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.09969, allocations: 1.457 MB / 474 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.0997, allocations: 0 / 474 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.1001, allocations: 233.7 kB / 474.2 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.869e-05/0.1002, allocations: 104.9 kB / 474.3 MB, free: 2.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.1002, allocations: 7.938 kB / 474.4 MB, free: 2.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.1003, allocations: 15.98 kB / 474.4 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.1004, allocations: 15.92 kB / 474.4 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1004, allocations: 4 kB / 474.4 MB, free: 2.457 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.68e-05/0.1005, allocations: 137.2 kB / 474.5 MB, free: 2.324 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1005, allocations: 8 kB / 474.5 MB, free: 2.316 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.1008, allocations: 59.84 kB / 474.6 MB, free: 2.258 MB / 302.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.039e-05/0.1009, allocations: 91.25 kB / 474.7 MB, free: 2.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003916/0.1013, allocations: 233.7 kB / 474.9 MB, free: 1.922 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1013, allocations: 4 kB / 474.9 MB, free: 1.918 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.1015, allocations: 166.9 kB / 475.1 MB, free: 1.742 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.1018, allocations: 31.98 kB / 475.1 MB, free: 1.711 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007985/0.1026, allocations: 0.5307 MB / 475.6 MB, free: 1.145 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.1029, allocations: 0.732 MB / 476.4 MB, free: 396 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.1029, allocations: 19.44 kB / 476.4 MB, free: 376 kB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1029, allocations: 0 / 476.4 MB, free: 376 kB / 302.1 MB Notification: Performance of Templates: time 0.004581/0.1075, allocations: 3.003 MB / 479.4 MB, free: 13.38 MB / 318.1 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)