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.001752/0.001752, 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.002024/0.002024, 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.441/1.441, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2211/0.2211, 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.002193/0.002193, allocations: 76.22 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1244, allocations: 62.46 MB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01872/0.1431, allocations: 13.92 MB / 494.1 MB, free: 7.121 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2482/0.3914, allocations: 26.58 MB / 0.5085 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.3918, allocations: 1.219 kB / 0.5085 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.3921, allocations: 94.53 kB / 0.5086 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02225/0.4144, allocations: 8.555 MB / 0.517 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.4155, allocations: 344 kB / 0.5173 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004285/0.4198, allocations: 2.002 MB / 0.5192 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.253e-05/0.4199, allocations: 19.41 kB / 0.5193 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004637/0.4203, allocations: 260.9 kB / 0.5195 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007125/0.4275, allocations: 3.257 MB / 0.5227 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.88e-05/0.4276, allocations: 9.719 kB / 0.5227 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.023/0.4506, allocations: 11.35 MB / 0.5338 GB, free: 4.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.4507, allocations: 44.67 kB / 0.5338 GB, free: 4.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000266/0.451, allocations: 141.8 kB / 0.534 GB, free: 4.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01835/0.4694, allocations: 6.768 MB / 0.5406 GB, free: 1.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.4694, allocations: 2.656 kB / 0.5406 GB, free: 1.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4694, allocations: 7.984 kB / 0.5406 GB, free: 1.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.4694, allocations: 0 / 0.5406 GB, free: 1.039 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.005672/0.4751, allocations: 1.617 MB / 0.5422 GB, free: 15.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.4752, allocations: 12.03 kB / 0.5422 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.101e-05/0.4753, allocations: 74.66 kB / 0.5422 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.4768, allocations: 191.9 kB / 0.5424 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.4772, allocations: 267.9 kB / 0.5427 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.4772, allocations: 21.22 kB / 0.5427 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.264e-05/0.4773, allocations: 35.94 kB / 0.5427 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.4795, allocations: 0.7542 MB / 0.5435 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.4795, allocations: 3.938 kB / 0.5435 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.4796, allocations: 16 kB / 0.5435 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.4796, allocations: 8 kB / 0.5435 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/0.4818, allocations: 0.8215 MB / 0.5443 GB, free: 13.12 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.003714/0.4855, allocations: 2.696 MB / 0.5469 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.4868, allocations: 362.2 kB / 0.5473 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.487, allocations: 68.83 kB / 0.5473 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.41/0.8969, allocations: 146.1 MB / 0.69 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001518/0.8985, allocations: 454.3 kB / 0.6904 GB, free: 11.05 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 3.206e-06/0.8986, allocations: 0 / 0.6904 GB, free: 11.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.00411/0.9027, allocations: 1.119 MB / 0.6915 GB, free: 9.922 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002351/0.9029, allocations: 379.9 kB / 0.6919 GB, free: 9.465 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.9032, allocations: 182.7 kB / 0.6921 GB, free: 9.277 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.9032, allocations: 33.7 kB / 0.6921 GB, free: 9.238 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.9034, allocations: 185.6 kB / 0.6923 GB, free: 9.055 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.9035, allocations: 114 kB / 0.6924 GB, free: 8.945 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.9037, allocations: 122.1 kB / 0.6925 GB, free: 8.816 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.9038, allocations: 334.8 kB / 0.6928 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.904, allocations: 81.62 kB / 0.6929 GB, free: 8.402 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/0.9044, allocations: 350.7 kB / 0.6932 GB, free: 7.934 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/0.9051, allocations: 488.9 kB / 0.6937 GB, free: 7.328 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.9051, allocations: 0 / 0.6937 GB, free: 7.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009371/0.9061, allocations: 480.3 kB / 0.6941 GB, free: 6.855 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.9061, allocations: 8 kB / 0.6942 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.9061, allocations: 11.19 kB / 0.6942 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/0.9061, allocations: 12 kB / 0.6942 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.9078, allocations: 211.6 kB / 0.6944 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007092/0.9085, allocations: 1.188 MB / 0.6955 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.9088, allocations: 23.94 kB / 0.6956 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.9089, allocations: 39.98 kB / 0.6956 GB, free: 5.324 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.0002177/0.9091, allocations: 165.6 kB / 0.6958 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-05/0.9092, allocations: 23.72 kB / 0.6958 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/0.9125, allocations: 2.844 MB / 0.6986 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/0.9125, allocations: 23.95 kB / 0.6986 GB, free: 2.246 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.9125, allocations: 4 kB / 0.6986 GB, free: 2.242 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.9125, allocations: 15.86 kB / 0.6986 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.9136, allocations: 0.9611 MB / 0.6995 GB, free: 1.223 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.9136, allocations: 4.375 kB / 0.6995 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005781/0.9142, allocations: 100.3 kB / 0.6996 GB, free: 1.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002033/0.9144, allocations: 156.1 kB / 0.6998 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.9145, allocations: 15.98 kB / 0.6998 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004667/0.9149, allocations: 0.6458 MB / 0.7004 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.915, allocations: 4.094 kB / 0.7004 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.9163, allocations: 0.9779 MB / 0.7014 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.9164, allocations: 128.4 kB / 0.7015 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.9165, allocations: 94.72 kB / 0.7016 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.9168, allocations: 17.61 kB / 0.7016 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.9169, allocations: 31.91 kB / 0.7016 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.9169, allocations: 23.92 kB / 0.7017 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005867/0.9175, allocations: 471 kB / 0.7021 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9175, allocations: 0 / 0.7021 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005344/0.9229, allocations: 1.62 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.01102/0.9339, allocations: 3.146 MB / 0.7068 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002116/0.9361, allocations: 0.5435 MB / 0.7073 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.559e-05/0.9361, allocations: 8.062 kB / 0.7073 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005769/0.9367, allocations: 365.6 kB / 0.7077 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009582/0.9377, allocations: 127 kB / 0.7078 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8065/1.744, allocations: 353.3 MB / 1.053 GB, free: 97.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/1.745, allocations: 0.9897 MB / 1.054 GB, free: 96.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006742/1.745, allocations: 0.507 MB / 1.054 GB, free: 96.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/1.745, allocations: 319.3 kB / 1.055 GB, free: 95.82 MB / 0.5606 GB Notification: Performance of SimCode: time 7.11e-07/1.746, allocations: 3.938 kB / 1.055 GB, free: 95.81 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3254/2.071, allocations: 66.49 MB / 1.12 GB, free: 185 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/17.71, allocations: 12.17 kB / 1.12 GB, free: 185 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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)