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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04239/0.04239, allocations: 8.717 MB / 16.79 MB, free: 3.387 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.5 MB / 240.9 MB, free: 13.2 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009419/0.0009419, allocations: 91.88 kB / 293.9 MB, free: 7.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.798e-05/1.801e-05, allocations: 0 / 352.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1196, allocations: 52.56 MB / 405.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3665/0.4861, allocations: 79.56 MB / 484.8 MB, free: 7.457 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001699/0.4863, allocations: 64.09 kB / 484.9 MB, free: 7.426 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00769/0.494, allocations: 3.411 MB / 488.3 MB, free: 4.625 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4941, allocations: 0 / 488.3 MB, free: 4.625 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.4941, allocations: 4 kB / 488.3 MB, free: 4.621 MB / 346.7 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.0005111/0.4946, allocations: 470.1 kB / 488.8 MB, free: 4.137 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.4947, allocations: 19.92 kB / 488.8 MB, free: 4.117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/0.4947, allocations: 23.72 kB / 488.8 MB, free: 4.094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.495, allocations: 216.2 kB / 489 MB, free: 3.855 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.495, allocations: 8 kB / 489 MB, free: 3.848 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.495, allocations: 16.98 kB / 489.1 MB, free: 3.832 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002056/0.4952, allocations: 97.86 kB / 489.2 MB, free: 3.773 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.4955, allocations: 155.2 kB / 489.3 MB, free: 3.645 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.4955, allocations: 0 / 489.3 MB, free: 3.645 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.4955, allocations: 0 / 489.3 MB, free: 3.645 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.4955, allocations: 4 kB / 489.3 MB, free: 3.641 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008648/0.4964, allocations: 0.701 MB / 490 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.4967, allocations: 118.8 kB / 490.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.267e-05/0.4967, allocations: 56 kB / 490.2 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.4968, allocations: 0 / 490.2 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.4969, allocations: 88.09 kB / 490.3 MB, free: 2.777 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.203e-06/0.4969, allocations: 0 / 490.3 MB, free: 2.777 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003416/0.4973, allocations: 148.5 kB / 490.4 MB, free: 2.629 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.4973, allocations: 55.41 kB / 490.5 MB, free: 2.562 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.678e-05/0.4974, allocations: 138.5 kB / 490.6 MB, free: 2.414 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.4974, allocations: 25.7 kB / 490.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.4975, allocations: 140.1 kB / 490.8 MB, free: 2.242 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.4975, allocations: 43.36 kB / 490.8 MB, free: 2.199 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.4975, allocations: 3.938 kB / 490.8 MB, free: 2.195 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.4976, allocations: 326.8 kB / 491.1 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/0.4976, allocations: 32 kB / 491.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-05/0.4977, allocations: 55.94 kB / 491.2 MB, free: 1.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.363e-05/0.4978, allocations: 33.25 kB / 491.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4978, allocations: 0.75 kB / 491.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002418/0.498, allocations: 162.3 kB / 491.4 MB, free: 1.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.498, allocations: 7.938 kB / 491.4 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.498, allocations: 0 / 491.4 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/0.4982, allocations: 28.84 kB / 491.4 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.58e-05/0.4983, allocations: 23.98 kB / 491.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007063/0.499, allocations: 1.316 MB / 492.8 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.861e-05/0.4992, allocations: 12.58 kB / 492.8 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.4992, allocations: 4.562 kB / 492.8 MB, free: 64 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.4993, allocations: 118.8 kB / 492.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002482/0.4995, allocations: 139.3 kB / 493 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.4996, allocations: 19.8 kB / 493.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.4996, allocations: 13.97 kB / 493.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4996, allocations: 4 kB / 493.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4996, allocations: 5.391 kB / 493.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4996, allocations: 0 / 493.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.4999, allocations: 222.1 kB / 493.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4999, allocations: 4.938 kB / 493.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.5, allocations: 23.92 kB / 493.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.13e-05/0.5001, allocations: 24.84 kB / 493.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.5001, allocations: 0 / 493.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009208/0.501, allocations: 1.312 MB / 494.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.501, allocations: 0 / 494.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.5014, allocations: 216.1 kB / 494.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-05/0.5015, allocations: 98.25 kB / 495 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.5015, allocations: 4.125 kB / 495 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.5016, allocations: 19.94 kB / 495 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.5017, allocations: 15.91 kB / 495 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.5017, allocations: 5.125 kB / 495 MB, free: 13.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.125e-05/0.5018, allocations: 122.1 kB / 495.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5018, allocations: 0 / 495.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002627/0.502, allocations: 47.84 kB / 495.2 MB, free: 13.48 MB / 362.7 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,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006004/0.5027, allocations: 0.7495 MB / 495.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003269/0.503, allocations: 197.7 kB / 496.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.503, allocations: 4.062 kB / 496.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.5032, allocations: 157.6 kB / 496.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.5034, allocations: 30.03 kB / 496.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/0.5041, allocations: 321 kB / 496.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.5045, allocations: 0.7362 MB / 497.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.647e-05/0.5046, allocations: 17.2 kB / 497.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.703e-05/0.5046, allocations: 51.36 kB / 497.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5047, allocations: 4 kB / 497.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.5272, allocations: 3.041 MB / 0.4887 GB, free: 8.18 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.5274, allocations: 118 kB / 0.4889 GB, free: 7.988 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.17, allocations: 0 / 0.4889 GB, free: 7.988 MB / 362.7 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/linux/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)