Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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.001398/0.001398, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001552/0.001552, allocations: 212 kB / 22.91 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 230.2 MB / 256.1 MB, free: 8.598 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1957/0.1957, allocations: 46.89 MB / 359.3 MB, free: 4.977 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002097/0.002097, allocations: 79.86 kB / 0.4939 GB, free: 9.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2547, allocations: 65.99 MB / 0.5584 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01432/0.2691, allocations: 12.59 MB / 0.5707 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.2706, allocations: 1.393 MB / 0.5721 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.2706, allocations: 0 / 0.5721 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.2707, allocations: 35.8 kB / 0.5721 GB, free: 7.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004359/0.2751, allocations: 2.236 MB / 0.5743 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.747e-06/0.2751, allocations: 0 / 0.5743 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.956e-05/0.2752, allocations: 43.72 kB / 0.5743 GB, free: 4.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.2752, allocations: 4 kB / 0.5743 GB, free: 4.879 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.816e-05/0.2752, allocations: 15.94 kB / 0.5743 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.128e-05/0.2753, allocations: 19.86 kB / 0.5744 GB, free: 4.844 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.865e-06/0.2753, allocations: 0 / 0.5744 GB, free: 4.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005783/0.2811, allocations: 3.855 MB / 0.5781 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.877e-06/0.2811, allocations: 4 kB / 0.5781 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.2811, allocations: 15.94 kB / 0.5781 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002389/0.2835, allocations: 1.984 MB / 0.5801 GB, free: 14.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2835, allocations: 0 / 0.5801 GB, free: 14.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2835, allocations: 0 / 0.5801 GB, free: 14.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.2835, allocations: 0 / 0.5801 GB, free: 14.97 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009877/0.2845, allocations: 0.5704 MB / 0.5806 GB, free: 14.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.2845, allocations: 12.03 kB / 0.5806 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.2846, allocations: 34.73 kB / 0.5807 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.2847, allocations: 12.89 kB / 0.5807 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2848, allocations: 168.4 kB / 0.5808 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.2848, allocations: 4.375 kB / 0.5809 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.2848, allocations: 4.375 kB / 0.5809 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.2851, allocations: 91.25 kB / 0.5809 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.2851, allocations: 0 / 0.5809 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.2851, allocations: 0 / 0.5809 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2851, allocations: 7.984 kB / 0.581 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.2852, allocations: 43.95 kB / 0.581 GB, free: 13.93 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.2856, allocations: 368.9 kB / 0.5813 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.2858, allocations: 54.47 kB / 0.5814 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.2858, allocations: 12.86 kB / 0.5814 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02026/0.3061, allocations: 10.42 MB / 0.5916 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3061, allocations: 34.56 kB / 0.5916 GB, free: 1.781 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.3061, allocations: 0 / 0.5916 GB, free: 1.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004282/0.3066, allocations: 105.6 kB / 0.5917 GB, free: 1.672 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.3066, allocations: 51.41 kB / 0.5918 GB, free: 1.609 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.177e-05/0.3067, allocations: 105.8 kB / 0.5919 GB, free: 1.496 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.3067, allocations: 25.7 kB / 0.5919 GB, free: 1.465 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.3067, allocations: 92.03 kB / 0.592 GB, free: 1.371 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.3068, allocations: 15.84 kB / 0.592 GB, free: 1.355 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.3068, allocations: 25.7 kB / 0.592 GB, free: 1.324 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3069, allocations: 314.8 kB / 0.5923 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.058e-05/0.3069, allocations: 8 kB / 0.5923 GB, free: 1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.751e-05/0.307, allocations: 30.56 kB / 0.5924 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.992e-05/0.307, allocations: 38.52 kB / 0.5924 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.307, allocations: 3.938 kB / 0.5924 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.737e-05/0.3071, allocations: 61.62 kB / 0.5925 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3071, allocations: 4 kB / 0.5925 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3072, allocations: 128 / 0.5925 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3072, allocations: 8 kB / 0.5925 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.727e-05/0.3072, allocations: 16.05 kB / 0.5925 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3072, allocations: 0 / 0.5925 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.402e-05/0.3073, allocations: 15.89 kB / 0.5925 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.3073, allocations: 0 / 0.5925 GB, free: 0.8008 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.625e-05/0.3074, allocations: 109.8 kB / 0.5926 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.3074, allocations: 3.938 kB / 0.5926 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.3078, allocations: 371.8 kB / 0.593 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.3078, allocations: 12.41 kB / 0.593 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3078, allocations: 4 kB / 0.593 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3078, allocations: 3.938 kB / 0.593 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.3081, allocations: 282.2 kB / 0.5933 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3081, allocations: 0 / 0.5933 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.3081, allocations: 8 kB / 0.5933 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.3081, allocations: 3.984 kB / 0.5933 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.3081, allocations: 0 / 0.5933 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3081, allocations: 4 kB / 0.5933 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3081, allocations: 0 / 0.5933 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.3084, allocations: 289.6 kB / 0.5935 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.3084, allocations: 96.94 kB / 0.5936 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.3084, allocations: 0 / 0.5936 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/0.3085, allocations: 0 / 0.5936 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.3085, allocations: 4 kB / 0.5936 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.331e-06/0.3085, allocations: 11.88 kB / 0.5937 GB, free: 15.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.003e-05/0.3085, allocations: 83.27 kB / 0.5937 GB, free: 15.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3085, allocations: 0 / 0.5937 GB, free: 15.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001089/0.3096, allocations: 451.3 kB / 0.5942 GB, free: 15 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002079/0.3117, allocations: 1.277 MB / 0.5954 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.3119, allocations: 79.91 kB / 0.5955 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3119, allocations: 0 / 0.5955 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.3119, allocations: 67.91 kB / 0.5956 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.3122, allocations: 23.86 kB / 0.5956 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000923/0.3131, allocations: 465.5 kB / 0.596 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3135, allocations: 0.7123 MB / 0.5967 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.111e-05/0.3135, allocations: 27.91 kB / 0.5967 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.3136, allocations: 31.42 kB / 0.5968 GB, free: 12.23 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3136, allocations: 0 / 0.5968 GB, free: 12.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03824/0.3518, allocations: 15.64 MB / 0.612 GB, free: 12.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.304/7.656, allocations: 3.438 kB / 0.612 GB, free: 12.64 MB / 462.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.110355570999673]