Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Network.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 109.1 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 242.1 MB, free: 15.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 186.6 kB / 294.4 MB, free: 12.69 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04269/0.04269, allocations: 8.802 MB / 355.4 MB, free: 15.93 MB / 302.1 MB " [Timeout remaining time 180] 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.Network,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.Network,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Network",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002422/0.002422, allocations: 87.84 kB / 472.1 MB, free: 5.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2922, allocations: 51.55 MB / 0.5114 GB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.003534/0.2957, allocations: 1.72 MB / 0.5131 GB, free: 10.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000346/0.2961, allocations: 105.5 kB / 0.5132 GB, free: 10.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.57e-05/0.2962, allocations: 2.219 kB / 0.5132 GB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.969e-05/0.2963, allocations: 16.91 kB / 0.5132 GB, free: 10.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.2965, allocations: 32.39 kB / 0.5132 GB, free: 10.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.2966, allocations: 27.28 kB / 0.5133 GB, free: 10.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.2968, allocations: 113.3 kB / 0.5134 GB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.2971, allocations: 46.91 kB / 0.5134 GB, free: 10.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.962e-05/0.2972, allocations: 43.45 kB / 0.5134 GB, free: 10.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.2973, allocations: 47.16 kB / 0.5135 GB, free: 10.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.2973, allocations: 8.625 kB / 0.5135 GB, free: 10.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.594e-05/0.2974, allocations: 9.125 kB / 0.5135 GB, free: 10.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.199e-05/0.2974, allocations: 23.48 kB / 0.5135 GB, free: 10.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.2975, allocations: 46.95 kB / 0.5136 GB, free: 10.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.2976, allocations: 114.2 kB / 0.5137 GB, free: 10.47 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2977, allocations: 1.156 kB / 0.5137 GB, free: 10.47 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2977, allocations: 0 / 0.5137 GB, free: 10.47 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2977, allocations: 0 / 0.5137 GB, free: 10.47 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006039/0.2983, allocations: 409.2 kB / 0.5141 GB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.2984, allocations: 10 kB / 0.5141 GB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.441e-05/0.2984, allocations: 40.95 kB / 0.5141 GB, free: 10 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.2985, allocations: 11.36 kB / 0.5141 GB, free: 10 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.2986, allocations: 168.1 kB / 0.5143 GB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.2987, allocations: 7.719 kB / 0.5143 GB, free: 9.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.2987, allocations: 13.98 kB / 0.5143 GB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.2989, allocations: 93.25 kB / 0.5144 GB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2989, allocations: 9 kB / 0.5144 GB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.2989, allocations: 5.031 kB / 0.5144 GB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.299, allocations: 2.188 kB / 0.5144 GB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.2991, allocations: 58.94 kB / 0.5145 GB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008244/0.2999, allocations: 0.4922 MB / 0.515 GB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.3002, allocations: 89.17 kB / 0.515 GB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.703e-05/0.3003, allocations: 35.8 kB / 0.5151 GB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.3003, allocations: 1.062 kB / 0.5151 GB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3004, allocations: 35.67 kB / 0.5151 GB, free: 9.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 2.134e-06/0.3004, allocations: 0 / 0.5151 GB, free: 9.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006597/0.301, allocations: 227.3 kB / 0.5153 GB, free: 8.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.3011, allocations: 56.44 kB / 0.5154 GB, free: 8.816 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.3012, allocations: 115.9 kB / 0.5155 GB, free: 8.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.3013, allocations: 33.64 kB / 0.5155 GB, free: 8.668 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.009e-05/0.3014, allocations: 104.4 kB / 0.5156 GB, free: 8.566 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.3014, allocations: 30.95 kB / 0.5157 GB, free: 8.539 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.3015, allocations: 20.28 kB / 0.5157 GB, free: 8.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3016, allocations: 324.3 kB / 0.516 GB, free: 8.195 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.153e-05/0.3017, allocations: 17.41 kB / 0.516 GB, free: 8.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.953e-05/0.3018, allocations: 37.7 kB / 0.516 GB, free: 8.137 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.3019, allocations: 53.66 kB / 0.5161 GB, free: 8.078 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3019, allocations: 3.938 kB / 0.5161 GB, free: 8.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002314/0.3021, allocations: 110.4 kB / 0.5162 GB, free: 7.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3021, allocations: 12.03 kB / 0.5162 GB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3022, allocations: 0 / 0.5162 GB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002062/0.3024, allocations: 36.77 kB / 0.5162 GB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/0.3025, allocations: 12 kB / 0.5163 GB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.3039, allocations: 1.418 MB / 0.5176 GB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.55e-05/0.304, allocations: 7.969 kB / 0.5176 GB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.304, allocations: 7.984 kB / 0.5177 GB, free: 6.312 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.3041, allocations: 121.8 kB / 0.5178 GB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.3042, allocations: 12.61 kB / 0.5178 GB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.419e-05/0.3042, allocations: 12.38 kB / 0.5178 GB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3042, allocations: 0 / 0.5178 GB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3042, allocations: 0 / 0.5178 GB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.3042, allocations: 3.984 kB / 0.5178 GB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.3045, allocations: 201.6 kB / 0.518 GB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3045, allocations: 0 / 0.518 GB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.397e-05/0.3046, allocations: 23.86 kB / 0.518 GB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/0.3047, allocations: 24.84 kB / 0.518 GB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.3047, allocations: 4 kB / 0.518 GB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.306, allocations: 1.415 MB / 0.5194 GB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/0.306, allocations: 4 kB / 0.5194 GB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.3063, allocations: 228.2 kB / 0.5196 GB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.3064, allocations: 85.17 kB / 0.5197 GB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.3064, allocations: 7.938 kB / 0.5197 GB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.412e-05/0.3065, allocations: 8.016 kB / 0.5197 GB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.3065, allocations: 4.125 kB / 0.5197 GB, free: 3.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3065, allocations: 4 kB / 0.5197 GB, free: 3.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.053e-05/0.3066, allocations: 99.14 kB / 0.5198 GB, free: 3.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3066, allocations: 0 / 0.5198 GB, free: 3.832 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003024/0.3069, allocations: 31.95 kB / 0.5199 GB, free: 3.801 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006941/0.3076, allocations: 0.7659 MB / 0.5206 GB, free: 3.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003371/0.308, allocations: 162.7 kB / 0.5208 GB, free: 2.836 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.308, allocations: 0 / 0.5208 GB, free: 2.836 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.3082, allocations: 146.6 kB / 0.5209 GB, free: 2.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.3085, allocations: 12.58 kB / 0.5209 GB, free: 2.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.3106, allocations: 1.576 MB / 0.5225 GB, free: 1 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.311, allocations: 0.7002 MB / 0.5232 GB, free: 280 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.257e-05/0.3111, allocations: 0.6719 kB / 0.5232 GB, free: 280 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.441e-05/0.3111, allocations: 31.42 kB / 0.5232 GB, free: 248 kB / 334.1 MB Notification: Performance of SimCode: time 2.956e-06/0.3112, allocations: 0 / 0.5232 GB, free: 248 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.3404, allocations: 2.431 MB / 0.5256 GB, free: 13.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.825/10.16, allocations: 7.594 kB / 0.5256 GB, free: 13.9 MB / 350.1 MB " [Timeout remaining time 650] (rm -f HanserModelica_HanserModelica.Thermal.Network.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Network.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Network.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Network.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Thermal.Network_res.csv --start-time 0 --stop-time 400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 HanserModelica_HanserModelica_Thermal_Network.fmu > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.925541947013699] Failed to read output from testmodel.py, exit status != 0: 10.245539191993885 10.267654164 9.965990062 Calling exit ...