Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001591/0.001591, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00163/0.00163, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2241/0.2241, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB 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.0023/0.0023, allocations: 78.53 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1171, allocations: 62.45 MB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01747/0.1346, allocations: 13.92 MB / 494.1 MB, free: 7.121 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2415/0.3761, allocations: 26.58 MB / 0.5085 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.3764, allocations: 5.469 kB / 0.5085 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.3768, allocations: 91.92 kB / 0.5086 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0227/0.3995, allocations: 8.562 MB / 0.517 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009418/0.4005, allocations: 340.6 kB / 0.5173 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004828/0.4053, allocations: 1.999 MB / 0.5192 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.541e-05/0.4054, allocations: 21 kB / 0.5193 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000475/0.4059, allocations: 265.5 kB / 0.5195 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00736/0.4133, allocations: 3.253 MB / 0.5227 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.616e-05/0.4134, allocations: 14.16 kB / 0.5227 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02106/0.4345, allocations: 11.34 MB / 0.5338 GB, free: 4.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.4346, allocations: 53.67 kB / 0.5338 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.4349, allocations: 133.8 kB / 0.534 GB, free: 4.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01534/0.4502, allocations: 6.778 MB / 0.5406 GB, free: 1.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4502, allocations: 4 kB / 0.5406 GB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4502, allocations: 0 / 0.5406 GB, free: 1.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.4503, allocations: 2.812 kB / 0.5406 GB, free: 1.035 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.00546/0.4557, allocations: 1.618 MB / 0.5422 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.4558, allocations: 12.03 kB / 0.5422 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.139e-05/0.4559, allocations: 70.72 kB / 0.5422 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.4574, allocations: 188.4 kB / 0.5424 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.4578, allocations: 267.9 kB / 0.5427 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.4578, allocations: 25.22 kB / 0.5427 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.955e-05/0.4579, allocations: 31.94 kB / 0.5427 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.46, allocations: 0.7486 MB / 0.5435 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.4601, allocations: 3.938 kB / 0.5435 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-05/0.4601, allocations: 23.98 kB / 0.5435 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.4601, allocations: 12 kB / 0.5435 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.4624, allocations: 0.8137 MB / 0.5443 GB, free: 13.11 MB / 398.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.003668/0.466, allocations: 2.702 MB / 0.5469 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.4674, allocations: 354.3 kB / 0.5473 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.4675, allocations: 76.81 kB / 0.5473 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3971/0.8647, allocations: 146.1 MB / 0.69 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001517/0.8662, allocations: 454.3 kB / 0.6904 GB, free: 11.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.565e-06/0.8662, allocations: 0 / 0.6904 GB, free: 11.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.004242/0.8705, allocations: 1.12 MB / 0.6915 GB, free: 9.914 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002295/0.8708, allocations: 375.8 kB / 0.6919 GB, free: 9.461 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.871, allocations: 186.7 kB / 0.692 GB, free: 9.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.871, allocations: 29.7 kB / 0.6921 GB, free: 9.234 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.8712, allocations: 191.1 kB / 0.6923 GB, free: 9.047 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.8713, allocations: 112.5 kB / 0.6924 GB, free: 8.938 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.8715, allocations: 126.1 kB / 0.6925 GB, free: 8.805 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.8717, allocations: 326.8 kB / 0.6928 GB, free: 8.477 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.8718, allocations: 85.06 kB / 0.6929 GB, free: 8.395 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.8723, allocations: 346.5 kB / 0.6932 GB, free: 7.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007456/0.873, allocations: 490.2 kB / 0.6937 GB, free: 7.324 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.873, allocations: 4 kB / 0.6937 GB, free: 7.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009745/0.874, allocations: 475.4 kB / 0.6941 GB, free: 6.852 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.8741, allocations: 8 kB / 0.6941 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.8741, allocations: 12 kB / 0.6942 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.8741, allocations: 12 kB / 0.6942 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.8757, allocations: 211.6 kB / 0.6944 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007316/0.8765, allocations: 1.184 MB / 0.6955 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.8768, allocations: 27.38 kB / 0.6955 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/0.8769, allocations: 43.97 kB / 0.6956 GB, free: 5.316 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002148/0.8771, allocations: 165.5 kB / 0.6957 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.8772, allocations: 27.72 kB / 0.6958 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003355/0.8806, allocations: 2.839 MB / 0.6985 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-05/0.8806, allocations: 19.97 kB / 0.6986 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.8806, allocations: 4 kB / 0.6986 GB, free: 2.246 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.8807, allocations: 11.92 kB / 0.6986 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.8818, allocations: 0.9671 MB / 0.6995 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.8819, allocations: 8.359 kB / 0.6995 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005627/0.8824, allocations: 96.28 kB / 0.6996 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002099/0.8827, allocations: 161.2 kB / 0.6998 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.8827, allocations: 12 kB / 0.6998 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004425/0.8832, allocations: 0.6497 MB / 0.7004 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.8832, allocations: 8.094 kB / 0.7004 GB, free: 276 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.8845, allocations: 0.9676 MB / 0.7014 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.8847, allocations: 128.4 kB / 0.7015 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.8848, allocations: 102.7 kB / 0.7016 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/0.8852, allocations: 11.98 kB / 0.7016 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.8852, allocations: 35.84 kB / 0.7016 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.8853, allocations: 19.98 kB / 0.7017 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000602/0.8859, allocations: 475 kB / 0.7021 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8859, allocations: 0 / 0.7021 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004991/0.8909, allocations: 1.616 MB / 0.7037 GB, free: 12.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009746/0.9006, allocations: 3.14 MB / 0.7068 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001771/0.9024, allocations: 0.5472 MB / 0.7073 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.9025, allocations: 4.312 kB / 0.7073 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005167/0.903, allocations: 369.5 kB / 0.7077 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008748/0.9039, allocations: 137.1 kB / 0.7078 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8603/1.764, allocations: 353.4 MB / 1.053 GB, free: 93.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/1.765, allocations: 0.982 MB / 1.054 GB, free: 92.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007203/1.765, allocations: 0.4992 MB / 1.054 GB, free: 92.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/1.766, allocations: 319.3 kB / 1.055 GB, free: 91.74 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/1.766, allocations: 0 / 1.055 GB, free: 91.74 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2972/2.063, allocations: 66.49 MB / 1.12 GB, free: 218.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.83/17.89, allocations: 19.36 kB / 1.12 GB, free: 218.8 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1)