Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001484/0.001484, allocations: 108.6 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 215.2 kB / 22.99 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.439/1.439, allocations: 230.5 MB / 256.5 MB, free: 8.176 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 59.89 kB / 376.2 MB, free: 3.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2698, allocations: 53.31 MB / 429.5 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004407/0.2742, allocations: 3.107 MB / 432.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.276, allocations: 1.029 MB / 433.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.2761, allocations: 11.94 kB / 433.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.2764, allocations: 103 kB / 433.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.2766, allocations: 95.03 kB / 433.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.2771, allocations: 243.4 kB / 434.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005996/0.2777, allocations: 0.5371 MB / 434.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003128/0.278, allocations: 150.7 kB / 434.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.2783, allocations: 187.2 kB / 435 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.2785, allocations: 179 kB / 435.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.599e-05/0.2786, allocations: 36 kB / 435.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.2787, allocations: 52 kB / 435.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.406e-05/0.2788, allocations: 95.62 kB / 435.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.279, allocations: 226.7 kB / 435.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006757/0.2797, allocations: 0.5876 MB / 436.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.2797, allocations: 0 / 436.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2797, allocations: 0 / 436.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.2797, allocations: 0 / 436.1 MB, free: 0.7578 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001038/0.2807, allocations: 0.7489 MB / 436.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.2808, allocations: 12.03 kB / 436.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.957e-05/0.2809, allocations: 90.64 kB / 437 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.2811, allocations: 67 kB / 437 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006298/0.2817, allocations: 430.6 kB / 437.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.2817, allocations: 29 kB / 437.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.2818, allocations: 43.94 kB / 437.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007515/0.2825, allocations: 495.2 kB / 438 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.2826, allocations: 7.953 kB / 438 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.2826, allocations: 20 kB / 438 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.2826, allocations: 12 kB / 438 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004897/0.2831, allocations: 250.2 kB / 438.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.2857, allocations: 2.819 MB / 441.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.2861, allocations: 162.7 kB / 441.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.2862, allocations: 60.84 kB / 441.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.2864, allocations: 85.09 kB / 441.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.2864, allocations: 34.56 kB / 441.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.2864, allocations: 3.938 kB / 441.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001316/0.2877, allocations: 0.6309 MB / 442.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.2878, allocations: 59.34 kB / 442.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/0.2882, allocations: 345.6 kB / 442.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.2882, allocations: 29.7 kB / 442.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.2884, allocations: 307.7 kB / 442.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.827e-05/0.2885, allocations: 71.42 kB / 442.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.2886, allocations: 73.61 kB / 442.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.2888, allocations: 346.8 kB / 443.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.2889, allocations: 63.97 kB / 443.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.2892, allocations: 215.5 kB / 443.6 MB, free: 8.785 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009796/0.2901, allocations: 0.516 MB / 444.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.2901, allocations: 3.938 kB / 444.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005987/0.2907, allocations: 350.1 kB / 444.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2908, allocations: 6.969 kB / 444.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.2908, allocations: 8 kB / 444.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001378/0.2909, allocations: 36.84 kB / 444.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.2912, allocations: 79.89 kB / 444.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.2926, allocations: 1.635 MB / 446.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.2927, allocations: 15.98 kB / 446.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.2928, allocations: 16 kB / 446.2 MB, free: 5.891 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (39): * Single equations (assignments): 38 * 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.0002074/0.293, allocations: 173.7 kB / 446.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.293, allocations: 35.77 kB / 446.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.488e-05/0.2931, allocations: 47.52 kB / 446.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2931, allocations: 0 / 446.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2931, allocations: 7.938 kB / 446.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2931, allocations: 0 / 446.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00098/0.2941, allocations: 0.7093 MB / 447.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2941, allocations: 3.938 kB / 447.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.2943, allocations: 35.98 kB / 447.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.138e-05/0.2943, allocations: 24.78 kB / 447.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.2944, allocations: 4 kB / 447.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.2954, allocations: 1.43 MB / 448.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2954, allocations: 3.938 kB / 448.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005119/0.296, allocations: 369.3 kB / 449 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.069e-05/0.296, allocations: 108.9 kB / 449.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.2961, allocations: 7.938 kB / 449.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.2962, allocations: 4 kB / 449.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.2962, allocations: 19.86 kB / 449.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.2962, allocations: 7.938 kB / 449.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002476/0.2965, allocations: 243.2 kB / 449.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2965, allocations: 0 / 449.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004221/0.2969, allocations: 68 kB / 449.5 MB, free: 2.336 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.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 (15): * Single equations (assignments): 14 * 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.0008337/0.2977, allocations: 0.8973 MB / 450.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005646/0.2983, allocations: 299.7 kB / 450.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2983, allocations: 0 / 450.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.2985, allocations: 178.6 kB / 450.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.2989, allocations: 37.55 kB / 450.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.3031, allocations: 3.353 MB / 454.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.3036, allocations: 0.8185 MB / 455.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.3037, allocations: 43.25 kB / 455.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.3039, allocations: 155.4 kB / 455.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3039, allocations: 0 / 455.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0355/0.3394, allocations: 6.334 MB / 461.6 MB, free: 6.059 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.89/10.23, allocations: 11.19 kB / 461.6 MB, free: 6.051 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.505252705013845] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor3a.T', 'capacitor3b.T', 'directCapacity.heatCapacitor.T'] 10.315038205997553 10.33095763 10.047922789 Calling exit ...