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.001118/0.001118, allocations: 119 kB / 16.42 MB, free: 6.48 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.507/1.507, allocations: 222.9 MB / 240.1 MB, free: 4.57 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.001404/0.001404, allocations: 192.4 kB / 290.4 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04411/0.04411, allocations: 8.809 MB / 349.3 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 79.86 kB / 464.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08541/0.08705, allocations: 51.55 MB / 0.504 GB, free: 9.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003695/0.09077, allocations: 2.429 MB / 0.5064 GB, free: 7.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.0919, allocations: 0.5765 MB / 0.507 GB, free: 6.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.09208, allocations: 7.938 kB / 0.507 GB, free: 6.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.09225, allocations: 31.7 kB / 0.507 GB, free: 6.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.09247, allocations: 79.33 kB / 0.5071 GB, free: 6.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.0927, allocations: 51.88 kB / 0.5071 GB, free: 6.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.09301, allocations: 246.8 kB / 0.5074 GB, free: 6.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.09319, allocations: 76.25 kB / 0.5075 GB, free: 6.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.09333, allocations: 91.66 kB / 0.5075 GB, free: 6.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.0935, allocations: 103.5 kB / 0.5076 GB, free: 5.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.09354, allocations: 16 kB / 0.5077 GB, free: 5.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.182e-05/0.09359, allocations: 20 kB / 0.5077 GB, free: 5.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.577e-05/0.09364, allocations: 43.83 kB / 0.5077 GB, free: 5.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.09376, allocations: 115.4 kB / 0.5078 GB, free: 5.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.09406, allocations: 227 kB / 0.508 GB, free: 5.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.09408, allocations: 0 / 0.508 GB, free: 5.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09408, allocations: 0 / 0.508 GB, free: 5.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.0941, allocations: 0 / 0.508 GB, free: 5.547 MB / 350.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.0007648/0.09487, allocations: 0.5101 MB / 0.5085 GB, free: 4.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.09492, allocations: 8.031 kB / 0.5085 GB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.09499, allocations: 24.8 kB / 0.5086 GB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.0953, allocations: 240 kB / 0.5088 GB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.09532, allocations: 12.38 kB / 0.5088 GB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.09538, allocations: 20.38 kB / 0.5088 GB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.0957, allocations: 195.5 kB / 0.509 GB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.09573, allocations: 0 / 0.509 GB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.09576, allocations: 8 kB / 0.509 GB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.09577, allocations: 7.984 kB / 0.509 GB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.09601, allocations: 115.9 kB / 0.5091 GB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.0971, allocations: 0.7442 MB / 0.5099 GB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.0974, allocations: 130.7 kB / 0.51 GB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.93e-05/0.09751, allocations: 60.84 kB / 0.5101 GB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.09753, allocations: 0 / 0.5101 GB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.0977, allocations: 97.56 kB / 0.5101 GB, free: 3.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.884e-06/0.09771, allocations: 0 / 0.5101 GB, free: 3.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006464/0.09836, allocations: 287.4 kB / 0.5104 GB, free: 2.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.0984, allocations: 59.41 kB / 0.5105 GB, free: 2.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.09858, allocations: 187.1 kB / 0.5107 GB, free: 2.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.09861, allocations: 25.7 kB / 0.5107 GB, free: 2.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.09869, allocations: 144.3 kB / 0.5108 GB, free: 2.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.09874, allocations: 59.52 kB / 0.5109 GB, free: 2.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.09881, allocations: 33.7 kB / 0.5109 GB, free: 2.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.09892, allocations: 326.8 kB / 0.5112 GB, free: 2.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.698e-05/0.099, allocations: 39.92 kB / 0.5113 GB, free: 1.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.833e-05/0.0991, allocations: 82.97 kB / 0.5113 GB, free: 1.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.09927, allocations: 113.9 kB / 0.5114 GB, free: 1.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.09928, allocations: 4 kB / 0.5114 GB, free: 1.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000313/0.0996, allocations: 182.2 kB / 0.5116 GB, free: 1.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.09962, allocations: 11.98 kB / 0.5116 GB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.09963, allocations: 0 / 0.5116 GB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/0.09982, allocations: 32.84 kB / 0.5117 GB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.09995, allocations: 27.92 kB / 0.5117 GB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.1011, allocations: 1.469 MB / 0.5131 GB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1012, allocations: 19.95 kB / 0.5131 GB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.1012, allocations: 8 kB / 0.5131 GB, free: 15.86 MB / 366.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.0001117/0.1013, allocations: 133.7 kB / 0.5133 GB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.1014, allocations: 19.84 kB / 0.5133 GB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.1014, allocations: 21.52 kB / 0.5133 GB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1014, allocations: 0 / 0.5133 GB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1014, allocations: 4 kB / 0.5133 GB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.467e-05/0.1015, allocations: 104.9 kB / 0.5134 GB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.1016, allocations: 11.98 kB / 0.5134 GB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.1017, allocations: 4 kB / 0.5134 GB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.1017, allocations: 19.97 kB / 0.5135 GB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004606/0.1022, allocations: 251.9 kB / 0.5137 GB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003358/0.1026, allocations: 358.6 kB / 0.514 GB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.012e-05/0.1026, allocations: 46.38 kB / 0.5141 GB, free: 14.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.1028, allocations: 137.2 kB / 0.5142 GB, free: 14.71 MB / 366.1 MB Notification: Performance of Backend: time 2.8e-07/0.1028, allocations: 0 / 0.5142 GB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005546/0.1033, allocations: 261.1 kB / 0.5145 GB, free: 14.44 MB / 366.1 MB Notification: Performance of SimCode: time 0.0008969/0.1042, allocations: 0.9093 MB / 0.5153 GB, free: 13.48 MB / 366.1 MB Notification: Performance of Templates: time 0.005575/0.1098, allocations: 2.279 MB / 0.5176 GB, free: 11.23 MB / 366.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)