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.0008945/0.0008946, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 223.3 MB / 240 MB, free: 5.328 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.0009507/0.0009507, allocations: 176.5 kB / 291.3 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03436/0.03436, allocations: 8.801 MB / 351.2 MB, free: 4.543 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003246, allocations: 10.59 kB / 414.5 MB, free: 42.76 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06361/0.06394, allocations: 52.55 MB / 467 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.00216/0.06614, allocations: 2.101 MB / 469.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007285/0.06688, allocations: 0.5689 MB / 469.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.301e-05/0.06699, allocations: 7.938 kB / 469.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.953e-05/0.0671, allocations: 31.77 kB / 469.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.06723, allocations: 59.47 kB / 469.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.0674, allocations: 51.94 kB / 469.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.06764, allocations: 230.8 kB / 470.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.06779, allocations: 72.92 kB / 470.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.528e-05/0.06788, allocations: 79.64 kB / 470.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.06801, allocations: 91.56 kB / 470.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.06804, allocations: 8 kB / 470.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.862e-05/0.06808, allocations: 15.94 kB / 470.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.382e-05/0.06812, allocations: 31.84 kB / 470.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.06823, allocations: 129.2 kB / 470.5 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.06838, allocations: 159.5 kB / 470.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.06839, allocations: 0 / 470.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.0684, allocations: 0 / 470.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.06841, allocations: 0 / 470.6 MB, free: 9.426 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.0006087/0.06902, allocations: 486.7 kB / 471.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.741e-05/0.06905, allocations: 8.031 kB / 471.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/0.06911, allocations: 24.66 kB / 471.2 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.06933, allocations: 225.5 kB / 471.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.06936, allocations: 20.27 kB / 471.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.06939, allocations: 20.38 kB / 471.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.06969, allocations: 183.6 kB / 471.6 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.06971, allocations: 0 / 471.6 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.06974, allocations: 19.98 kB / 471.6 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.06975, allocations: 4 kB / 471.6 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.06997, allocations: 115.8 kB / 471.7 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.07098, allocations: 0.7557 MB / 472.5 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.07127, allocations: 134.8 kB / 472.6 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.391e-05/0.07137, allocations: 56.84 kB / 472.7 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.07139, allocations: 0 / 472.7 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.07156, allocations: 91.31 kB / 472.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.07157, allocations: 4 kB / 472.8 MB, free: 7.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005959/0.07218, allocations: 301.3 kB / 473.1 MB, free: 6.797 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.07222, allocations: 51.41 kB / 473.1 MB, free: 6.734 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.07238, allocations: 183.1 kB / 473.3 MB, free: 6.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.0724, allocations: 29.7 kB / 473.3 MB, free: 6.508 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/0.07248, allocations: 144.2 kB / 473.5 MB, free: 6.363 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.07253, allocations: 51.25 kB / 473.5 MB, free: 6.312 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.07257, allocations: 29.64 kB / 473.5 MB, free: 6.277 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.827e-05/0.07266, allocations: 326.8 kB / 473.9 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.07274, allocations: 31.98 kB / 473.9 MB, free: 5.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.658e-05/0.07283, allocations: 80.22 kB / 474 MB, free: 5.824 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.07299, allocations: 112.2 kB / 474.1 MB, free: 5.699 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.073, allocations: 3.938 kB / 474.1 MB, free: 5.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002981/0.0733, allocations: 176.5 kB / 474.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.07333, allocations: 4.125 kB / 474.3 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.07334, allocations: 8 kB / 474.3 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/0.07351, allocations: 40.77 kB / 474.3 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.07363, allocations: 23.98 kB / 474.3 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009834/0.07462, allocations: 1.37 MB / 475.7 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.07475, allocations: 23.83 kB / 475.7 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.07477, allocations: 4 kB / 475.7 MB, free: 3.906 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.0001035/0.07488, allocations: 143 kB / 475.9 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.07491, allocations: 19.88 kB / 475.9 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.07496, allocations: 25.52 kB / 475.9 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.07496, allocations: 3.938 kB / 475.9 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.07497, allocations: 0 / 475.9 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.07498, allocations: 0 / 475.9 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.0752, allocations: 257.5 kB / 476.2 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.07521, allocations: 0 / 476.2 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.07532, allocations: 20 kB / 476.2 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.07544, allocations: 32.83 kB / 476.2 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.07546, allocations: 8 kB / 476.2 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009255/0.07639, allocations: 1.359 MB / 477.6 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.07641, allocations: 64 / 477.6 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.07678, allocations: 245.6 kB / 477.8 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.07686, allocations: 96.94 kB / 477.9 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.07689, allocations: 0 / 477.9 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.07701, allocations: 19.98 kB / 477.9 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.07707, allocations: 12.05 kB / 477.9 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.07709, allocations: 4 kB / 478 MB, free: 1.449 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.721e-05/0.07719, allocations: 141.1 kB / 478.1 MB, free: 1.312 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.07719, allocations: 0 / 478.1 MB, free: 1.312 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.07746, allocations: 59.84 kB / 478.1 MB, free: 1.254 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 7.63e-05/0.07755, allocations: 103.2 kB / 478.2 MB, free: 1.145 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003221/0.07787, allocations: 225.7 kB / 478.5 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.07789, allocations: 0 / 478.5 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.07808, allocations: 178.5 kB / 478.6 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.07836, allocations: 35.86 kB / 478.7 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006911/0.07906, allocations: 0.5686 MB / 479.2 MB, free: 92 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.07931, allocations: 0.7281 MB / 480 MB, free: 15.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.07936, allocations: 15.44 kB / 480 MB, free: 15.32 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.07936, allocations: 0 / 480 MB, free: 15.32 MB / 318.1 MB Notification: Performance of Templates: time 0.004237/0.08361, allocations: 2.975 MB / 483 MB, free: 12.36 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)