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: "" <> buildModelFMU(HanserModelica.Thermal.Coupling,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Coupling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.Coupling,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Coupling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.347/1.347, allocations: 222.9 MB / 238.9 MB, free: 4.754 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.001307/0.001307, allocations: 192.4 kB / 289.1 MB, free: 2.512 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03326/0.03326, allocations: 8.796 MB / 348.1 MB, free: 4.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 75.72 kB / 410.5 MB, free: 42.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08599/0.08742, allocations: 51.56 MB / 462.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003373/0.09083, allocations: 2.469 MB / 464.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008479/0.09171, allocations: 0.5727 MB / 465.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.09183, allocations: 4 kB / 465.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.09197, allocations: 19.84 kB / 465.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.09211, allocations: 67.39 kB / 465.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.0923, allocations: 47.97 kB / 465.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.09255, allocations: 238.8 kB / 465.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.09272, allocations: 64.98 kB / 465.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.8e-05/0.09281, allocations: 83.66 kB / 465.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.09295, allocations: 99.48 kB / 465.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.09298, allocations: 12 kB / 465.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.942e-05/0.09303, allocations: 12 kB / 465.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.09307, allocations: 39.84 kB / 465.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.835e-05/0.09318, allocations: 107.5 kB / 465.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.09338, allocations: 219.2 kB / 466.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.09339, allocations: 0 / 466.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.0934, allocations: 0 / 466.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.09342, allocations: 3.938 kB / 466.1 MB, free: 10.71 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.0006829/0.0941, allocations: 0.4986 MB / 466.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.09415, allocations: 12.03 kB / 466.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.306e-05/0.09421, allocations: 54.73 kB / 466.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.09427, allocations: 24.66 kB / 466.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.0945, allocations: 233.4 kB / 466.9 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.09453, allocations: 24.31 kB / 466.9 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.09456, allocations: 16.38 kB / 467 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.09486, allocations: 187.4 kB / 467.1 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.09487, allocations: 0 / 467.1 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.0949, allocations: 11.98 kB / 467.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.09492, allocations: 8 kB / 467.2 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.09514, allocations: 115.8 kB / 467.3 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.09618, allocations: 0.744 MB / 468 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.09647, allocations: 134.7 kB / 468.2 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.873e-05/0.09657, allocations: 52.84 kB / 468.2 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.0966, allocations: 4 kB / 468.2 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.09682, allocations: 87.38 kB / 468.3 MB, free: 8.328 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.253e-06/0.09683, allocations: 0 / 468.3 MB, free: 8.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006364/0.09747, allocations: 301.5 kB / 468.6 MB, free: 8.008 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.09752, allocations: 55.41 kB / 468.6 MB, free: 7.941 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.0977, allocations: 187 kB / 468.8 MB, free: 7.746 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.09772, allocations: 33.7 kB / 468.9 MB, free: 7.707 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.09781, allocations: 132.3 kB / 469 MB, free: 7.574 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.09786, allocations: 51.27 kB / 469 MB, free: 7.523 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.09792, allocations: 37.7 kB / 469.1 MB, free: 7.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.09806, allocations: 326.8 kB / 469.4 MB, free: 7.152 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-05/0.09814, allocations: 35.94 kB / 469.4 MB, free: 7.117 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.714e-05/0.09823, allocations: 78.78 kB / 469.5 MB, free: 7.027 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.09839, allocations: 112.2 kB / 469.6 MB, free: 6.902 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.0984, allocations: 0 / 469.6 MB, free: 6.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002989/0.0987, allocations: 184.5 kB / 469.8 MB, free: 6.715 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.09873, allocations: 7.984 kB / 469.8 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.09874, allocations: 4 kB / 469.8 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.09895, allocations: 32.84 kB / 469.8 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.09907, allocations: 28.11 kB / 469.9 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.1001, allocations: 1.362 MB / 471.2 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.1002, allocations: 27.92 kB / 471.3 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.1002, allocations: 8 kB / 471.3 MB, free: 5.109 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.1003, allocations: 141.6 kB / 471.4 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.1004, allocations: 15.81 kB / 471.4 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.1004, allocations: 21.52 kB / 471.4 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1004, allocations: 3.938 kB / 471.4 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1004, allocations: 0 / 471.4 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1004, allocations: 0 / 471.4 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.1007, allocations: 265.5 kB / 471.7 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1007, allocations: 0 / 471.7 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.1008, allocations: 19.98 kB / 471.7 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/0.1009, allocations: 36.78 kB / 471.8 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1009, allocations: 4 kB / 471.8 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000941/0.1019, allocations: 1.355 MB / 473.1 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1019, allocations: 0 / 473.1 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.1023, allocations: 233.6 kB / 473.3 MB, free: 2.816 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/0.1023, allocations: 104.9 kB / 473.4 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1024, allocations: 8.125 kB / 473.5 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1025, allocations: 11.98 kB / 473.5 MB, free: 2.676 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.1026, allocations: 15.92 kB / 473.5 MB, free: 2.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.1026, allocations: 8 kB / 473.5 MB, free: 2.652 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.1027, allocations: 141.1 kB / 473.6 MB, free: 2.516 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1027, allocations: 0 / 473.6 MB, free: 2.516 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.103, allocations: 59.78 kB / 473.7 MB, free: 2.457 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.0006041/0.1036, allocations: 0.7699 MB / 474.5 MB, free: 1.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003428/0.1039, allocations: 226.4 kB / 474.7 MB, free: 1.426 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1039, allocations: 320 / 474.7 MB, free: 1.426 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.1041, allocations: 174.6 kB / 474.8 MB, free: 1.242 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.1044, allocations: 31.95 kB / 474.9 MB, free: 1.211 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.1067, allocations: 2.139 MB / 477 MB, free: 14.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.107, allocations: 0.732 MB / 477.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.186e-05/0.107, allocations: 13.55 kB / 477.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/0.1071, allocations: 55.42 kB / 477.8 MB, free: 14.13 MB / 318.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1071, allocations: 4 kB / 477.8 MB, free: 14.12 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.1224, allocations: 3.886 MB / 481.7 MB, free: 10.35 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.1226, allocations: 196.8 kB / 481.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/1.775, allocations: 6.625 kB / 481.9 MB, free: 10.09 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Thermal_Coupling_fmu --startTime=0 --stopTime=400 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Thermal_Coupling.fmu > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1)