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.001471/0.001471, allocations: 110.1 kB / 16.42 MB, free: 6.445 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.378/1.378, allocations: 222.9 MB / 240.1 MB, free: 4.555 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.001362/0.001362, allocations: 192.5 kB / 290.4 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03629/0.03629, allocations: 8.791 MB / 349.3 MB, free: 4.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 75.88 kB / 464.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07967/0.08128, allocations: 51.56 MB / 0.504 GB, free: 9.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003335/0.08464, allocations: 2.417 MB / 0.5064 GB, free: 7.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.08569, allocations: 0.5765 MB / 0.507 GB, free: 6.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.08585, allocations: 8 kB / 0.507 GB, free: 6.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.08602, allocations: 35.59 kB / 0.507 GB, free: 6.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.08621, allocations: 75.33 kB / 0.5071 GB, free: 6.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.08642, allocations: 43.94 kB / 0.5071 GB, free: 6.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.08671, allocations: 250.8 kB / 0.5074 GB, free: 6.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.08689, allocations: 72.27 kB / 0.5074 GB, free: 6.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.08701, allocations: 95.64 kB / 0.5075 GB, free: 5.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.08718, allocations: 99.5 kB / 0.5076 GB, free: 5.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.967e-05/0.08724, allocations: 16 kB / 0.5076 GB, free: 5.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.043e-05/0.0873, allocations: 20 kB / 0.5077 GB, free: 5.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.08736, allocations: 39.84 kB / 0.5077 GB, free: 5.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.08747, allocations: 111.5 kB / 0.5078 GB, free: 5.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.08773, allocations: 235.1 kB / 0.508 GB, free: 5.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.08774, allocations: 3.938 kB / 0.508 GB, free: 5.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.08774, allocations: 0 / 0.508 GB, free: 5.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.08776, allocations: 0 / 0.508 GB, free: 5.43 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.0007363/0.0885, allocations: 0.5025 MB / 0.5085 GB, free: 4.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.08854, allocations: 8.031 kB / 0.5085 GB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.901e-05/0.08864, allocations: 24.66 kB / 0.5086 GB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.08893, allocations: 239.8 kB / 0.5088 GB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.08896, allocations: 16.38 kB / 0.5088 GB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.089, allocations: 20.36 kB / 0.5088 GB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.08932, allocations: 195.5 kB / 0.509 GB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.08934, allocations: 0 / 0.509 GB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.08937, allocations: 4 kB / 0.509 GB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.08938, allocations: 8 kB / 0.509 GB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.0896, allocations: 119.8 kB / 0.5091 GB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.0909, allocations: 0.7362 MB / 0.5098 GB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.09121, allocations: 138.7 kB / 0.51 GB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.09137, allocations: 56.84 kB / 0.51 GB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.09139, allocations: 0 / 0.51 GB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.09155, allocations: 93.48 kB / 0.5101 GB, free: 3.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.09156, allocations: 0 / 0.5101 GB, free: 3.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006483/0.09222, allocations: 299.2 kB / 0.5104 GB, free: 2.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.09226, allocations: 51.41 kB / 0.5105 GB, free: 2.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.09246, allocations: 183.1 kB / 0.5106 GB, free: 2.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.09249, allocations: 29.7 kB / 0.5107 GB, free: 2.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.09258, allocations: 140.2 kB / 0.5108 GB, free: 2.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.852e-05/0.09266, allocations: 51.3 kB / 0.5108 GB, free: 2.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.09272, allocations: 37.62 kB / 0.5109 GB, free: 2.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.09284, allocations: 330.8 kB / 0.5112 GB, free: 1.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.59e-05/0.09292, allocations: 39.98 kB / 0.5112 GB, free: 1.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.09304, allocations: 74.98 kB / 0.5113 GB, free: 1.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.09321, allocations: 122.5 kB / 0.5114 GB, free: 1.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.09322, allocations: 0 / 0.5114 GB, free: 1.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003198/0.09354, allocations: 182.1 kB / 0.5116 GB, free: 1.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.09357, allocations: 8 kB / 0.5116 GB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.09358, allocations: 4.125 kB / 0.5116 GB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/0.09377, allocations: 32.84 kB / 0.5116 GB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.09389, allocations: 23.98 kB / 0.5117 GB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.09513, allocations: 1.465 MB / 0.5131 GB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.09526, allocations: 23.86 kB / 0.5131 GB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.09528, allocations: 4 kB / 0.5131 GB, free: 15.77 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.0001579/0.09544, allocations: 137.7 kB / 0.5132 GB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.09548, allocations: 23.81 kB / 0.5133 GB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.09553, allocations: 21.53 kB / 0.5133 GB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.09554, allocations: 3.984 kB / 0.5133 GB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.09554, allocations: 0 / 0.5133 GB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/0.09564, allocations: 100.9 kB / 0.5134 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.09567, allocations: 0 / 0.5134 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.09579, allocations: 11.98 kB / 0.5134 GB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.09585, allocations: 11.98 kB / 0.5134 GB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004683/0.09632, allocations: 253.5 kB / 0.5137 GB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003481/0.09668, allocations: 356.2 kB / 0.514 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.596e-05/0.09678, allocations: 46.28 kB / 0.514 GB, free: 14.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.615e-05/0.09689, allocations: 133.2 kB / 0.5142 GB, free: 14.63 MB / 366.1 MB Notification: Performance of Backend: time 3e-07/0.09689, allocations: 0 / 0.5142 GB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005915/0.09749, allocations: 274.2 kB / 0.5144 GB, free: 14.35 MB / 366.1 MB Notification: Performance of SimCode: time 0.0009266/0.09843, allocations: 0.8985 MB / 0.5153 GB, free: 13.4 MB / 366.1 MB Notification: Performance of Templates: time 0.005393/0.1038, allocations: 2.287 MB / 0.5175 GB, free: 11.13 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)