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.00138/0.001381, allocations: 106 kB / 16.36 MB, free: 5.875 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.464/1.464, allocations: 222.9 MB / 240 MB, free: 4.531 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.001644/0.001644, allocations: 192.5 kB / 290.3 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03396/0.03396, allocations: 8.801 MB / 349.3 MB, free: 4.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 80.77 kB / 412.5 MB, free: 41.72 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07713/0.07869, allocations: 51.57 MB / 464.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003429/0.08216, allocations: 2.412 MB / 466.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008571/0.08304, allocations: 0.5804 MB / 467.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.773e-05/0.08315, allocations: 4 kB / 467.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.08329, allocations: 35.64 kB / 467.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.08341, allocations: 67.34 kB / 467.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.08368, allocations: 55.88 kB / 467.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.08394, allocations: 246.8 kB / 467.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.08411, allocations: 80.25 kB / 467.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.774e-05/0.0842, allocations: 91.66 kB / 467.6 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.08435, allocations: 95.55 kB / 467.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.08439, allocations: 24 kB / 467.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.884e-05/0.08442, allocations: 16 kB / 467.8 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/0.08447, allocations: 47.78 kB / 467.8 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.08458, allocations: 111.5 kB / 467.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.08482, allocations: 227.1 kB / 468.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.08483, allocations: 0 / 468.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.08484, allocations: 0 / 468.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.08485, allocations: 4 kB / 468.2 MB, free: 9.414 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.0006936/0.08555, allocations: 0.4987 MB / 468.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.08559, allocations: 8.031 kB / 468.7 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.08565, allocations: 24.66 kB / 468.7 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.08593, allocations: 233.4 kB / 468.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.08596, allocations: 16.33 kB / 468.9 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.086, allocations: 20.38 kB / 468.9 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.0863, allocations: 191.5 kB / 469.1 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.08632, allocations: 4 kB / 469.1 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.08635, allocations: 12 kB / 469.2 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.08636, allocations: 4 kB / 469.2 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.08659, allocations: 115.9 kB / 469.3 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.08767, allocations: 0.744 MB / 470 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.08796, allocations: 134.7 kB / 470.1 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/0.08806, allocations: 52.84 kB / 470.2 MB, free: 7.199 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.08809, allocations: 4 kB / 470.2 MB, free: 7.195 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.08824, allocations: 99.25 kB / 470.3 MB, free: 7.086 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.08825, allocations: 0 / 470.3 MB, free: 7.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006269/0.08889, allocations: 293.2 kB / 470.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.08894, allocations: 59.34 kB / 470.6 MB, free: 6.703 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.08911, allocations: 183.1 kB / 470.8 MB, free: 6.512 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.08913, allocations: 33.7 kB / 470.9 MB, free: 6.473 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.494e-05/0.08923, allocations: 136.2 kB / 471 MB, free: 6.336 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.08928, allocations: 51.27 kB / 471 MB, free: 6.285 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.08934, allocations: 37.7 kB / 471.1 MB, free: 6.242 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.08948, allocations: 322.8 kB / 471.4 MB, free: 5.918 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.871e-05/0.08955, allocations: 35.94 kB / 471.4 MB, free: 5.883 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-05/0.08964, allocations: 81.77 kB / 471.5 MB, free: 5.789 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.08981, allocations: 108.2 kB / 471.6 MB, free: 5.668 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.08982, allocations: 0 / 471.6 MB, free: 5.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002943/0.09012, allocations: 192.6 kB / 471.8 MB, free: 5.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.09015, allocations: 4 kB / 471.8 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.09016, allocations: 4 kB / 471.8 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/0.09033, allocations: 28.83 kB / 471.8 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.09045, allocations: 35.92 kB / 471.9 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.09152, allocations: 1.453 MB / 473.3 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.09163, allocations: 23.86 kB / 473.3 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.09165, allocations: 4 kB / 473.3 MB, free: 3.777 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.0001055/0.09176, allocations: 149.6 kB / 473.5 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.09179, allocations: 19.89 kB / 473.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.09185, allocations: 29.5 kB / 473.5 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.09185, allocations: 4 kB / 473.5 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.09186, allocations: 0 / 473.5 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.09187, allocations: 0 / 473.5 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.09209, allocations: 257.5 kB / 473.8 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.0921, allocations: 0 / 473.8 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.09221, allocations: 24 kB / 473.8 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.09232, allocations: 32.77 kB / 473.9 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.09234, allocations: 8 kB / 473.9 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.09356, allocations: 1.465 MB / 475.3 MB, free: 1.602 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.09357, allocations: 0 / 475.3 MB, free: 1.602 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.09392, allocations: 229.7 kB / 475.6 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.09401, allocations: 104.9 kB / 475.7 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.09403, allocations: 8.062 kB / 475.7 MB, free: 1.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.09415, allocations: 11.98 kB / 475.7 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.0942, allocations: 11.98 kB / 475.7 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.09422, allocations: 8 kB / 475.7 MB, free: 1.195 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.322e-05/0.09432, allocations: 133.2 kB / 475.8 MB, free: 1.066 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09432, allocations: 3.938 kB / 475.8 MB, free: 1.062 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.09457, allocations: 55.84 kB / 475.9 MB, free: 1.008 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.0001015/0.09468, allocations: 112.1 kB / 476 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.09502, allocations: 228.9 kB / 476.2 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.09504, allocations: 3.938 kB / 476.2 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.09522, allocations: 166.7 kB / 476.4 MB, free: 488 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.09548, allocations: 36.22 kB / 476.4 MB, free: 452 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006851/0.09618, allocations: 437.9 kB / 476.8 MB, free: 15.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.09645, allocations: 0.7281 MB / 477.6 MB, free: 15.22 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.007e-05/0.09651, allocations: 21.53 kB / 477.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.09655, allocations: 15.44 kB / 477.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of SimCode: time 2.034e-06/0.09656, allocations: 0 / 477.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of Templates: time 0.004965/0.1015, allocations: 2.22 MB / 479.8 MB, free: 13 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 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1)