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.001193/0.001193, allocations: 103.5 kB / 16.35 MB, free: 5.824 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.34/1.34, allocations: 222.9 MB / 240 MB, free: 4.504 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.001415/0.001415, allocations: 192.1 kB / 290.3 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0363/0.0363, allocations: 8.803 MB / 349.3 MB, free: 4.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 87.14 kB / 412.5 MB, free: 41.64 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0814/0.08291, allocations: 51.56 MB / 464.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003261/0.0862, allocations: 2.418 MB / 466.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008026/0.08702, allocations: 0.5765 MB / 467.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.503e-05/0.08713, allocations: 0 / 467.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.08726, allocations: 39.59 kB / 467.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.08739, allocations: 67.39 kB / 467.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.08758, allocations: 55.88 kB / 467.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.08783, allocations: 250.8 kB / 467.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.088, allocations: 76.25 kB / 467.6 MB, free: 10 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.839e-05/0.0881, allocations: 87.66 kB / 467.6 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.08825, allocations: 107.5 kB / 467.7 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.08829, allocations: 16 kB / 467.8 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.109e-05/0.08833, allocations: 20 kB / 467.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.658e-05/0.08838, allocations: 43.83 kB / 467.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.08848, allocations: 111.5 kB / 467.9 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.0887, allocations: 227.1 kB / 468.2 MB, free: 9.402 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.08871, allocations: 0 / 468.2 MB, free: 9.402 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.08871, allocations: 0 / 468.2 MB, free: 9.402 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.08872, allocations: 0 / 468.2 MB, free: 9.402 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.0007335/0.08946, allocations: 0.5025 MB / 468.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.08951, allocations: 8.031 kB / 468.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.716e-05/0.08958, allocations: 24.66 kB / 468.7 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.08992, allocations: 241.4 kB / 468.9 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.08994, allocations: 16.33 kB / 468.9 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.08999, allocations: 20.38 kB / 469 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.09028, allocations: 191.6 kB / 469.1 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.0903, allocations: 4 kB / 469.2 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.09033, allocations: 4 kB / 469.2 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.09034, allocations: 4 kB / 469.2 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.09055, allocations: 127.8 kB / 469.3 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009923/0.09155, allocations: 0.7401 MB / 470 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.09182, allocations: 130.8 kB / 470.2 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.15e-05/0.09192, allocations: 52.84 kB / 470.2 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.09194, allocations: 0 / 470.2 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.0921, allocations: 101.6 kB / 470.3 MB, free: 7.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.09211, allocations: 4 kB / 470.3 MB, free: 7.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006218/0.09274, allocations: 287.2 kB / 470.6 MB, free: 6.758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.09279, allocations: 59.41 kB / 470.6 MB, free: 6.688 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.09296, allocations: 191.1 kB / 470.8 MB, free: 6.488 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.09299, allocations: 25.7 kB / 470.9 MB, free: 6.457 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.082e-05/0.09307, allocations: 140.2 kB / 471 MB, free: 6.316 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.09312, allocations: 51.25 kB / 471 MB, free: 6.266 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.09318, allocations: 33.72 kB / 471.1 MB, free: 6.227 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.09328, allocations: 330.8 kB / 471.4 MB, free: 5.895 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.962e-05/0.09336, allocations: 35.94 kB / 471.4 MB, free: 5.859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.352e-05/0.09345, allocations: 77.77 kB / 471.5 MB, free: 5.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.0936, allocations: 110.2 kB / 471.6 MB, free: 5.648 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.09361, allocations: 4 kB / 471.6 MB, free: 5.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002855/0.0939, allocations: 182.1 kB / 471.8 MB, free: 5.457 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.09392, allocations: 8 kB / 471.8 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.09394, allocations: 0 / 471.8 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001794/0.09412, allocations: 40.77 kB / 471.8 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.09423, allocations: 20 kB / 471.9 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.09531, allocations: 1.465 MB / 473.3 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.09542, allocations: 19.81 kB / 473.4 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.09544, allocations: 12.06 kB / 473.4 MB, free: 3.75 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.0001109/0.09556, allocations: 145.6 kB / 473.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.09559, allocations: 19.75 kB / 473.5 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.09563, allocations: 17.53 kB / 473.5 MB, free: 3.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.09564, allocations: 3.984 kB / 473.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.09565, allocations: 0 / 473.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.09566, allocations: 4 kB / 473.5 MB, free: 3.555 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.09588, allocations: 253.5 kB / 473.8 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.09589, allocations: 7.984 kB / 473.8 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.936e-05/0.09599, allocations: 16 kB / 473.8 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001064/0.09611, allocations: 40.77 kB / 473.9 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.09613, allocations: 0 / 473.9 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009405/0.09707, allocations: 1.461 MB / 475.3 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.09709, allocations: 3.984 kB / 475.3 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.09743, allocations: 233 kB / 475.6 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/0.09752, allocations: 109.1 kB / 475.7 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.09754, allocations: 7.938 kB / 475.7 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.09765, allocations: 11.98 kB / 475.7 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.09771, allocations: 15.97 kB / 475.7 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.09773, allocations: 4 kB / 475.7 MB, free: 1.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.09783, allocations: 137.2 kB / 475.8 MB, free: 1.047 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09784, allocations: 0 / 475.8 MB, free: 1.047 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.0981, allocations: 59.84 kB / 475.9 MB, free: 0.9883 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 8.378e-05/0.09819, allocations: 100.1 kB / 476 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003641/0.09856, allocations: 218.5 kB / 476.2 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.09858, allocations: 7.875 kB / 476.2 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.09877, allocations: 178.6 kB / 476.4 MB, free: 472 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.09906, allocations: 40.22 kB / 476.4 MB, free: 432 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008168/0.09988, allocations: 441.7 kB / 476.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.1002, allocations: 0.732 MB / 477.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.986e-05/0.1003, allocations: 17.55 kB / 477.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.1003, allocations: 15.44 kB / 477.6 MB, free: 15.16 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1003, allocations: 0 / 477.6 MB, free: 15.16 MB / 318.1 MB Notification: Performance of Templates: time 0.005393/0.1057, allocations: 2.21 MB / 479.8 MB, free: 12.98 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 gbode -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1)