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.001827/0.001827, allocations: 105.7 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.001506/0.001506, allocations: 214.4 kB / 22.92 MB, free: 5.191 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.289/1.289, allocations: 230.2 MB / 256.2 MB, free: 8.594 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.1974/0.1974, allocations: 46.88 MB / 359.3 MB, free: 4.969 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.00213/0.00213, allocations: 83.84 kB / 0.494 GB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2539, allocations: 65.97 MB / 0.5584 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01451/0.2684, allocations: 12.6 MB / 0.5707 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.2698, allocations: 1.397 MB / 0.5721 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.2699, allocations: 0 / 0.5721 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.27, allocations: 31.86 kB / 0.5721 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00471/0.2747, allocations: 2.236 MB / 0.5743 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.077e-06/0.2747, allocations: 0 / 0.5743 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.411e-05/0.2748, allocations: 39.73 kB / 0.5743 GB, free: 4.852 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.2748, allocations: 7.938 kB / 0.5743 GB, free: 4.844 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.393e-05/0.2749, allocations: 15.98 kB / 0.5743 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.245e-05/0.2749, allocations: 15.92 kB / 0.5744 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.003e-06/0.2749, allocations: 3.938 kB / 0.5744 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005836/0.2808, allocations: 3.843 MB / 0.5781 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.757e-06/0.2808, allocations: 8 kB / 0.5781 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.2808, allocations: 19.88 kB / 0.5781 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002636/0.2835, allocations: 1.98 MB / 0.5801 GB, free: 14.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2835, allocations: 4 kB / 0.5801 GB, free: 14.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2835, allocations: 0 / 0.5801 GB, free: 14.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.505e-06/0.2835, allocations: 0 / 0.5801 GB, free: 14.95 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.001143/0.2846, allocations: 0.5681 MB / 0.5806 GB, free: 14.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2846, allocations: 8.031 kB / 0.5806 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.2847, allocations: 34.75 kB / 0.5807 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.2848, allocations: 16.88 kB / 0.5807 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.2849, allocations: 168.4 kB / 0.5808 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.285, allocations: 384 / 0.5808 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.285, allocations: 4.375 kB / 0.5808 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.2852, allocations: 95.23 kB / 0.5809 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.2852, allocations: 0 / 0.5809 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.2852, allocations: 0 / 0.5809 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2852, allocations: 0 / 0.5809 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.2854, allocations: 51.94 kB / 0.581 GB, free: 13.9 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.0003959/0.2858, allocations: 372.8 kB / 0.5813 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.2859, allocations: 54.55 kB / 0.5814 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/0.286, allocations: 12.94 kB / 0.5814 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01986/0.3058, allocations: 10.42 MB / 0.5916 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.3058, allocations: 30.56 kB / 0.5916 GB, free: 1.758 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.853e-06/0.3058, allocations: 0 / 0.5916 GB, free: 1.758 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004152/0.3063, allocations: 105.6 kB / 0.5917 GB, free: 1.648 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.3063, allocations: 51.41 kB / 0.5918 GB, free: 1.586 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.3064, allocations: 101.8 kB / 0.5919 GB, free: 1.477 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3064, allocations: 29.7 kB / 0.5919 GB, free: 1.441 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.3064, allocations: 96.03 kB / 0.592 GB, free: 1.344 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.3065, allocations: 15.83 kB / 0.592 GB, free: 1.328 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.3065, allocations: 17.72 kB / 0.592 GB, free: 1.305 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3066, allocations: 318.8 kB / 0.5923 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.143e-05/0.3066, allocations: 11.98 kB / 0.5923 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.203e-05/0.3067, allocations: 22.58 kB / 0.5924 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.895e-05/0.3067, allocations: 46.5 kB / 0.5924 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3067, allocations: 0 / 0.5924 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.993e-05/0.3068, allocations: 61.62 kB / 0.5925 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3068, allocations: 4 kB / 0.5925 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3068, allocations: 128 / 0.5925 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3069, allocations: 4 kB / 0.5925 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.3069, allocations: 20.06 kB / 0.5925 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3069, allocations: 0 / 0.5925 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.217e-05/0.307, allocations: 7.891 kB / 0.5925 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.307, allocations: 4 kB / 0.5925 GB, free: 0.7812 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.881e-05/0.307, allocations: 125.7 kB / 0.5926 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.3071, allocations: 0 / 0.5926 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.3075, allocations: 371.8 kB / 0.593 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.3075, allocations: 4 kB / 0.593 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3075, allocations: 4 kB / 0.593 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.3075, allocations: 8.344 kB / 0.593 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.3078, allocations: 282.2 kB / 0.5933 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3078, allocations: 0 / 0.5933 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.3078, allocations: 11.98 kB / 0.5933 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3078, allocations: 0 / 0.5933 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.3078, allocations: 0 / 0.5933 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3078, allocations: 0 / 0.5933 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3078, allocations: 3.984 kB / 0.5933 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.3081, allocations: 293.6 kB / 0.5935 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.3082, allocations: 92.95 kB / 0.5936 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.3082, allocations: 0 / 0.5936 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.937e-05/0.3082, allocations: 4 kB / 0.5936 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.3082, allocations: 11.92 kB / 0.5937 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.3082, allocations: 3.938 kB / 0.5937 GB, free: 15.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.971e-05/0.3083, allocations: 79.28 kB / 0.5937 GB, free: 15.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3083, allocations: 0 / 0.5937 GB, free: 15.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001113/0.3094, allocations: 451.3 kB / 0.5942 GB, free: 14.97 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.002233/0.3116, allocations: 1.28 MB / 0.5954 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.3118, allocations: 87.91 kB / 0.5955 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3118, allocations: 0 / 0.5955 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.412e-05/0.3119, allocations: 63.92 kB / 0.5956 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.3121, allocations: 22.41 kB / 0.5956 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009555/0.3131, allocations: 465.4 kB / 0.596 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.3134, allocations: 0.7126 MB / 0.5967 GB, free: 12.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.662e-05/0.3134, allocations: 35.83 kB / 0.5968 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.3135, allocations: 31.42 kB / 0.5968 GB, free: 12.19 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3135, allocations: 0 / 0.5968 GB, free: 12.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03802/0.3515, allocations: 15.62 MB / 0.612 GB, free: 12.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.409/7.761, allocations: 10.56 kB / 0.612 GB, free: 12.61 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.287033398009953]