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.0017/0.0017, allocations: 102.6 kB / 16.27 MB, free: 6.414 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.598 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.001681/0.001681, allocations: 199.7 kB / 290.2 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03541/0.03541, allocations: 8.793 MB / 349.2 MB, free: 4.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 79.33 kB / 411.8 MB, free: 41.99 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08479/0.08636, allocations: 51.57 MB / 463.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003612/0.09001, allocations: 2.409 MB / 465.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000946/0.09098, allocations: 0.5765 MB / 466.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.09111, allocations: 4 kB / 466.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.09126, allocations: 39.64 kB / 466.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.09142, allocations: 71.33 kB / 466.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.09164, allocations: 55.88 kB / 466.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.09191, allocations: 242.8 kB / 466.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.0921, allocations: 84.25 kB / 466.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.09222, allocations: 87.66 kB / 466.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.09237, allocations: 99.55 kB / 467 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.09241, allocations: 20 kB / 467 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.881e-05/0.09246, allocations: 16 kB / 467 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.09252, allocations: 51.77 kB / 467.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.09263, allocations: 107.5 kB / 467.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.09288, allocations: 231.4 kB / 467.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.09289, allocations: 0 / 467.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.0929, allocations: 0 / 467.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.83e-06/0.09292, allocations: 3.938 kB / 467.4 MB, free: 10.26 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.0007674/0.09369, allocations: 0.4908 MB / 467.9 MB, free: 9.723 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.09373, allocations: 16.02 kB / 467.9 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.943e-05/0.09381, allocations: 24.66 kB / 467.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.09414, allocations: 241.4 kB / 468.2 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.09417, allocations: 16.33 kB / 468.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.09422, allocations: 12.38 kB / 468.2 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.09454, allocations: 195.5 kB / 468.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.09457, allocations: 4 kB / 468.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.09459, allocations: 4 kB / 468.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.0946, allocations: 4 kB / 468.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.09483, allocations: 119.9 kB / 468.5 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.09594, allocations: 0.748 MB / 469.3 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.09623, allocations: 130.7 kB / 469.4 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.09634, allocations: 52.84 kB / 469.4 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.09637, allocations: 4 kB / 469.4 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002698/0.09665, allocations: 95.38 kB / 469.5 MB, free: 7.938 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.674e-06/0.09666, allocations: 3.938 kB / 469.5 MB, free: 7.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007094/0.09738, allocations: 289.8 kB / 469.8 MB, free: 7.625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.09746, allocations: 55.41 kB / 469.9 MB, free: 7.559 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.09767, allocations: 191.1 kB / 470.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.0977, allocations: 25.7 kB / 470.1 MB, free: 7.328 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/0.0978, allocations: 144.2 kB / 470.2 MB, free: 7.184 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.09785, allocations: 43.27 kB / 470.3 MB, free: 7.141 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.09792, allocations: 37.7 kB / 470.3 MB, free: 7.098 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.09805, allocations: 326.8 kB / 470.6 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.415e-05/0.09813, allocations: 39.94 kB / 470.7 MB, free: 6.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-05/0.09823, allocations: 78.86 kB / 470.7 MB, free: 6.641 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.0984, allocations: 108.2 kB / 470.8 MB, free: 6.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.09841, allocations: 3.938 kB / 470.8 MB, free: 6.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003278/0.09874, allocations: 189 kB / 471 MB, free: 6.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.09877, allocations: 4 kB / 471 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.09878, allocations: 0 / 471 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/0.09897, allocations: 36.83 kB / 471.1 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.0991, allocations: 31.92 kB / 471.1 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.1003, allocations: 1.469 MB / 472.6 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.1004, allocations: 23.86 kB / 472.6 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1005, allocations: 4 kB / 472.6 MB, free: 4.613 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.0001219/0.1006, allocations: 138.8 kB / 472.7 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.1006, allocations: 23.69 kB / 472.8 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.949e-05/0.1007, allocations: 21.52 kB / 472.8 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1007, allocations: 4 kB / 472.8 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1007, allocations: 8 kB / 472.8 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1007, allocations: 0 / 472.8 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.1009, allocations: 257.5 kB / 473 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1009, allocations: 0 / 473 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.1011, allocations: 16 kB / 473.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001225/0.1012, allocations: 36.77 kB / 473.1 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1012, allocations: 0 / 473.1 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.1023, allocations: 1.473 MB / 474.6 MB, free: 2.449 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1023, allocations: 0 / 474.6 MB, free: 2.449 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.1027, allocations: 233.7 kB / 474.8 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.531e-05/0.1028, allocations: 100.9 kB / 474.9 MB, free: 2.082 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.1028, allocations: 11.94 kB / 474.9 MB, free: 2.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1029, allocations: 7.984 kB / 474.9 MB, free: 2.062 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.103, allocations: 15.98 kB / 474.9 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.103, allocations: 8.062 kB / 474.9 MB, free: 2.039 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1031, allocations: 133.2 kB / 475.1 MB, free: 1.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1031, allocations: 0 / 475.1 MB, free: 1.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.1034, allocations: 59.84 kB / 475.1 MB, free: 1.852 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 0.0001075/0.1035, allocations: 91.25 kB / 475.2 MB, free: 1.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003848/0.1039, allocations: 238.6 kB / 475.4 MB, free: 1.508 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1039, allocations: 4.062 kB / 475.5 MB, free: 1.504 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.1041, allocations: 166.6 kB / 475.6 MB, free: 1.328 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.1044, allocations: 38.58 kB / 475.7 MB, free: 1.293 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008156/0.1052, allocations: 479.5 kB / 476.1 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.1056, allocations: 0.7359 MB / 476.9 MB, free: 24 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.1056, allocations: 15.44 kB / 476.9 MB, free: 8 kB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1056, allocations: 0 / 476.9 MB, free: 8 kB / 302.1 MB Notification: Performance of Templates: time 0.004796/0.1104, allocations: 3 MB / 479.9 MB, free: 13.02 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)