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.001204/0.001205, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.246/1.246, allocations: 222.9 MB / 238.9 MB, free: 4.746 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.001076/0.001076, allocations: 184.5 kB / 289.1 MB, free: 2.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04365/0.04365, allocations: 8.789 MB / 348.1 MB, free: 4.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 73.94 kB / 410.4 MB, free: 42.38 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08551/0.08693, allocations: 51.56 MB / 462 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003622/0.0906, allocations: 2.455 MB / 464.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.09167, allocations: 0.5805 MB / 465 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.09187, allocations: 4 kB / 465 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.09203, allocations: 27.77 kB / 465 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.09223, allocations: 63.47 kB / 465.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.09244, allocations: 43.91 kB / 465.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.0927, allocations: 234.8 kB / 465.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.09287, allocations: 73.55 kB / 465.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.093, allocations: 83.66 kB / 465.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.09316, allocations: 95.55 kB / 465.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.0932, allocations: 16 kB / 465.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.864e-05/0.09325, allocations: 12 kB / 465.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.0933, allocations: 31.86 kB / 465.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.09343, allocations: 115.4 kB / 465.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.09368, allocations: 219.4 kB / 466 MB, free: 10.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.09369, allocations: 0 / 466 MB, free: 10.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.0937, allocations: 0 / 466 MB, free: 10.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.09371, allocations: 4 kB / 466 MB, free: 10.81 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.0008875/0.09461, allocations: 0.4948 MB / 466.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.09465, allocations: 8.031 kB / 466.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/0.09473, allocations: 24.66 kB / 466.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.09505, allocations: 237.4 kB / 466.8 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.09508, allocations: 16.33 kB / 466.8 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.09513, allocations: 20.38 kB / 466.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.09547, allocations: 191.5 kB / 467 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.09549, allocations: 0 / 467 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.09552, allocations: 12 kB / 467 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.09553, allocations: 4 kB / 467 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.09576, allocations: 111.9 kB / 467.1 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.09688, allocations: 0.7557 MB / 467.9 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.09717, allocations: 130.7 kB / 468 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.517e-05/0.09727, allocations: 64.81 kB / 468 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.09729, allocations: 4 kB / 468 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.09748, allocations: 91.38 kB / 468.1 MB, free: 8.473 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.223e-06/0.09749, allocations: 0 / 468.1 MB, free: 8.473 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006046/0.0981, allocations: 291.2 kB / 468.4 MB, free: 8.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.09815, allocations: 59.41 kB / 468.5 MB, free: 8.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.0983, allocations: 183.1 kB / 468.7 MB, free: 7.898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.09833, allocations: 29.69 kB / 468.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.09841, allocations: 136.2 kB / 468.8 MB, free: 7.727 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.09845, allocations: 51.27 kB / 468.9 MB, free: 7.676 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.09852, allocations: 33.7 kB / 468.9 MB, free: 7.637 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.09861, allocations: 326.8 kB / 469.2 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.606e-05/0.09868, allocations: 43.81 kB / 469.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.34e-05/0.09877, allocations: 78.84 kB / 469.3 MB, free: 7.176 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.09892, allocations: 106.3 kB / 469.4 MB, free: 7.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.09893, allocations: 3.938 kB / 469.5 MB, free: 7.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003151/0.09925, allocations: 195.9 kB / 469.6 MB, free: 6.855 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.09928, allocations: 8 kB / 469.6 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.09929, allocations: 0 / 469.6 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001897/0.09948, allocations: 28.84 kB / 469.7 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.0996, allocations: 31.92 kB / 469.7 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.1007, allocations: 1.367 MB / 471.1 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.1008, allocations: 11.84 kB / 471.1 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.1009, allocations: 12 kB / 471.1 MB, free: 5.262 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.0001082/0.101, allocations: 139.2 kB / 471.2 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.101, allocations: 19.8 kB / 471.3 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.101, allocations: 21.53 kB / 471.3 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1011, allocations: 3.938 kB / 471.3 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1011, allocations: 4 kB / 471.3 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1011, allocations: 0 / 471.3 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.1013, allocations: 257.5 kB / 471.5 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1013, allocations: 0 / 471.5 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.1014, allocations: 31.92 kB / 471.6 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.1015, allocations: 32.84 kB / 471.6 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1016, allocations: 0 / 471.6 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009418/0.1025, allocations: 1.362 MB / 473 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1025, allocations: 0 / 473 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/0.1029, allocations: 229.7 kB / 473.2 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.893e-05/0.103, allocations: 105 kB / 473.3 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.103, allocations: 0 / 473.3 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.1031, allocations: 24.09 kB / 473.3 MB, free: 2.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.1032, allocations: 7.984 kB / 473.3 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.1032, allocations: 8 kB / 473.3 MB, free: 2.805 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.1033, allocations: 141.1 kB / 473.5 MB, free: 2.668 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1033, allocations: 0 / 473.5 MB, free: 2.668 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1036, allocations: 55.84 kB / 473.5 MB, free: 2.613 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 9.696e-05/0.1037, allocations: 99.19 kB / 473.6 MB, free: 2.508 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003827/0.1041, allocations: 225 kB / 473.8 MB, free: 2.277 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.1041, allocations: 0 / 473.8 MB, free: 2.277 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.1043, allocations: 178.5 kB / 474 MB, free: 2.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.1046, allocations: 36.17 kB / 474 MB, free: 2.055 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000759/0.1053, allocations: 0.5079 MB / 474.6 MB, free: 1.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.1056, allocations: 0.732 MB / 475.3 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.234e-05/0.1057, allocations: 17.55 kB / 475.3 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.1057, allocations: 15.44 kB / 475.3 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1057, allocations: 0 / 475.3 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of Templates: time 0.004652/0.1104, allocations: 2.07 MB / 477.4 MB, free: 14.68 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)