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.004591/0.004591, allocations: 171.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03736/0.03736, allocations: 8.796 MB / 24.65 MB, free: 4.113 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 223.1 MB / 250.7 MB, free: 6.574 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.001001/0.001001, allocations: 95.53 kB / 304 MB, free: 4.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003495, allocations: 12 kB / 367.1 MB, free: 4.852 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.233, allocations: 52.55 MB / 419.7 MB, free: 48.11 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08297/0.316, allocations: 80.3 MB / 500 MB, free: 8.781 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.3162, allocations: 63.97 kB / 0.4883 GB, free: 8.719 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008566/0.3248, allocations: 3.464 MB / 0.4917 GB, free: 5.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3249, allocations: 0 / 0.4917 GB, free: 5.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.3249, allocations: 4 kB / 0.4917 GB, free: 5.266 MB / 362.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.0006065/0.3255, allocations: 494.5 kB / 0.4922 GB, free: 4.734 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3255, allocations: 8.562 kB / 0.4922 GB, free: 4.727 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.888e-05/0.3256, allocations: 54.55 kB / 0.4922 GB, free: 4.664 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.3257, allocations: 23.72 kB / 0.4923 GB, free: 4.641 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.3259, allocations: 218.7 kB / 0.4925 GB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3259, allocations: 19.59 kB / 0.4925 GB, free: 4.371 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.326, allocations: 23.94 kB / 0.4925 GB, free: 4.348 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.3262, allocations: 187.2 kB / 0.4927 GB, free: 4.152 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3263, allocations: 0 / 0.4927 GB, free: 4.152 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.3263, allocations: 8 kB / 0.4927 GB, free: 4.145 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3263, allocations: 4 kB / 0.4927 GB, free: 4.141 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.3265, allocations: 115.8 kB / 0.4928 GB, free: 4.027 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009674/0.3275, allocations: 0.748 MB / 0.4936 GB, free: 3.211 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.3278, allocations: 126.7 kB / 0.4937 GB, free: 3.078 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.3278, allocations: 3.984 kB / 0.4937 GB, free: 3.074 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.328, allocations: 95.38 kB / 0.4938 GB, free: 2.969 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.328, allocations: 4 kB / 0.4938 GB, free: 2.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006021/0.3286, allocations: 289 kB / 0.494 GB, free: 2.656 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.3286, allocations: 55.41 kB / 0.4941 GB, free: 2.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.3288, allocations: 162.3 kB / 0.4943 GB, free: 2.422 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3288, allocations: 33.7 kB / 0.4943 GB, free: 2.383 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/0.3289, allocations: 144.2 kB / 0.4944 GB, free: 2.238 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.3289, allocations: 43.34 kB / 0.4945 GB, free: 2.195 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/0.329, allocations: 4 kB / 0.4945 GB, free: 2.191 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.65e-05/0.3291, allocations: 326.8 kB / 0.4948 GB, free: 1.863 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.356e-05/0.3291, allocations: 39.92 kB / 0.4948 GB, free: 1.824 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.738e-05/0.3292, allocations: 60.27 kB / 0.4949 GB, free: 1.754 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.225e-05/0.3293, allocations: 43.94 kB / 0.4949 GB, free: 1.711 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3293, allocations: 0 / 0.4949 GB, free: 1.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002899/0.3296, allocations: 176.4 kB / 0.4951 GB, free: 1.531 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3296, allocations: 6.656 kB / 0.4951 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3296, allocations: 0 / 0.4951 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001745/0.3298, allocations: 40.92 kB / 0.4951 GB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3299, allocations: 23.94 kB / 0.4952 GB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.331, allocations: 1.366 MB / 0.4965 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.3311, allocations: 23.86 kB / 0.4965 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.3311, allocations: 8 kB / 0.4965 GB, free: 15.92 MB / 378.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 () * Number of clocked 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.0001213/0.3312, allocations: 145.6 kB / 0.4967 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.3313, allocations: 15.81 kB / 0.4967 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.3313, allocations: 21.58 kB / 0.4967 GB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3313, allocations: 4 kB / 0.4967 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3313, allocations: 3.938 kB / 0.4967 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3313, allocations: 288 / 0.4967 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.3316, allocations: 265.4 kB / 0.497 GB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3316, allocations: 0 / 0.497 GB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.3317, allocations: 16 kB / 0.497 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/0.3319, allocations: 36.81 kB / 0.497 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.3319, allocations: 8 kB / 0.497 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009672/0.3329, allocations: 1.359 MB / 0.4983 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3329, allocations: 0 / 0.4983 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.3332, allocations: 241.7 kB / 0.4986 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-05/0.3333, allocations: 104.9 kB / 0.4987 GB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3334, allocations: 0 / 0.4987 GB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.3335, allocations: 15.98 kB / 0.4987 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.3336, allocations: 19.97 kB / 0.4987 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.3336, allocations: 12.02 kB / 0.4987 GB, free: 13.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001022/0.3337, allocations: 129.2 kB / 0.4988 GB, free: 13.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3337, allocations: 0 / 0.4988 GB, free: 13.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002729/0.334, allocations: 55.84 kB / 0.4989 GB, free: 13.27 MB / 378.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 () * 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 (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.0006265/0.3346, allocations: 0.7675 MB / 0.4996 GB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004228/0.335, allocations: 215.1 kB / 0.4998 GB, free: 12.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3351, allocations: 0 / 0.4998 GB, free: 12.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.3353, allocations: 180.4 kB / 0.5 GB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.3355, allocations: 36.31 kB / 0.5001 GB, free: 12.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.3371, allocations: 1.597 MB / 0.5016 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.3374, allocations: 0.7363 MB / 0.5023 GB, free: 9.594 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.956e-05/0.3375, allocations: 13.55 kB / 0.5023 GB, free: 9.574 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.515e-05/0.3376, allocations: 55.42 kB / 0.5024 GB, free: 9.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.515e-06/0.3376, allocations: 0 / 0.5024 GB, free: 9.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.352, allocations: 3.794 MB / 0.5061 GB, free: 5.883 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.3523, allocations: 174.9 kB / 0.5063 GB, free: 5.645 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/1.915, allocations: 0 / 0.5063 GB, free: 5.645 MB / 378.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)