Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.001295/0.001295, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001405/0.001405, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.419/1.419, allocations: 230.5 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 46.95 MB / 361.6 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 75.89 kB / 0.4969 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.325, allocations: 66.09 MB / 0.5615 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01694/0.342, allocations: 12.7 MB / 0.5739 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03033/0.3723, allocations: 23.34 MB / 0.5967 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.3725, allocations: 4 kB / 0.5967 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.3729, allocations: 87.42 kB / 0.5968 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02279/0.3956, allocations: 8.511 MB / 0.6051 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.3967, allocations: 353.3 kB / 0.6054 GB, free: 6.863 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004886/0.4015, allocations: 2.013 MB / 0.6074 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.79e-05/0.4016, allocations: 8.594 kB / 0.6074 GB, free: 4.812 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005345/0.4021, allocations: 258.8 kB / 0.6076 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007354/0.4095, allocations: 3.274 MB / 0.6108 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.729e-05/0.4096, allocations: 8 kB / 0.6108 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02263/0.4322, allocations: 11.55 MB / 0.6221 GB, free: 5.652 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.4323, allocations: 55.73 kB / 0.6222 GB, free: 5.598 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.4325, allocations: 119.5 kB / 0.6223 GB, free: 5.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01556/0.4481, allocations: 6.762 MB / 0.6289 GB, free: 14.7 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4481, allocations: 0 / 0.6289 GB, free: 14.7 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4481, allocations: 0 / 0.6289 GB, free: 14.7 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.4481, allocations: 0 / 0.6289 GB, free: 14.7 MB / 478.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.004748/0.4528, allocations: 1.591 MB / 0.6304 GB, free: 13.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4529, allocations: 12.03 kB / 0.6305 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.687e-05/0.4529, allocations: 8.844 kB / 0.6305 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.233e-05/0.453, allocations: 66.72 kB / 0.6305 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.4545, allocations: 192.5 kB / 0.6307 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.4548, allocations: 210.1 kB / 0.6309 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.4549, allocations: 24.78 kB / 0.6309 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.4549, allocations: 32 kB / 0.631 GB, free: 12.51 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.4572, allocations: 0.8146 MB / 0.6318 GB, free: 11.63 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.4572, allocations: 0 / 0.6318 GB, free: 11.63 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/0.4573, allocations: 16 kB / 0.6318 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.4573, allocations: 8 kB / 0.6318 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/0.4595, allocations: 0.8219 MB / 0.6326 GB, free: 10.79 MB / 478.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.003347/0.4629, allocations: 2.139 MB / 0.6347 GB, free: 8.555 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.4642, allocations: 348.2 kB / 0.635 GB, free: 8.207 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.4644, allocations: 64.81 kB / 0.6351 GB, free: 8.141 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3574/0.8217, allocations: 99.96 MB / 0.7327 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001483/0.8232, allocations: 454.3 kB / 0.7331 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.227e-06/0.8232, allocations: 4 kB / 0.7331 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004105/0.8273, allocations: 1.146 MB / 0.7342 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001979/0.8275, allocations: 371.8 kB / 0.7346 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.8277, allocations: 182.3 kB / 0.7348 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.071e-05/0.8277, allocations: 33.7 kB / 0.7348 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.8279, allocations: 196.2 kB / 0.735 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.828, allocations: 123 kB / 0.7351 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.8282, allocations: 122.1 kB / 0.7352 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.8283, allocations: 334.8 kB / 0.7356 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.8285, allocations: 76.94 kB / 0.7356 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.8289, allocations: 348.9 kB / 0.736 GB, free: 392 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2564/1.085, allocations: 478.8 kB / 0.7364 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/1.085, allocations: 2.781 kB / 0.7364 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001249/1.087, allocations: 477 kB / 0.7369 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/1.087, allocations: 10.31 kB / 0.7369 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/1.087, allocations: 9.094 kB / 0.7369 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.368e-05/1.087, allocations: 16.44 kB / 0.7369 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/1.089, allocations: 209.7 kB / 0.7371 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004197/1.089, allocations: 1.187 MB / 0.7383 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/1.089, allocations: 22.72 kB / 0.7383 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.289e-05/1.089, allocations: 47.19 kB / 0.7383 GB, free: 167.1 MB / 0.5606 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.000228/1.09, allocations: 172.9 kB / 0.7385 GB, free: 167 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/1.09, allocations: 30.62 kB / 0.7385 GB, free: 167 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/1.092, allocations: 2.977 MB / 0.7414 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.352e-05/1.092, allocations: 21.14 kB / 0.7415 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.093, allocations: 4.312 kB / 0.7415 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/1.093, allocations: 5.438 kB / 0.7415 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008773/1.093, allocations: 0.9504 MB / 0.7424 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.093, allocations: 4.969 kB / 0.7424 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/1.094, allocations: 106.1 kB / 0.7425 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001659/1.094, allocations: 169.9 kB / 0.7427 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/1.094, allocations: 11.81 kB / 0.7427 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002452/1.094, allocations: 0.6393 MB / 0.7433 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.094, allocations: 7.562 kB / 0.7433 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009096/1.095, allocations: 0.997 MB / 0.7443 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/1.095, allocations: 55.27 kB / 0.7443 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/1.095, allocations: 95.95 kB / 0.7444 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/1.096, allocations: 15.3 kB / 0.7444 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/1.096, allocations: 33.3 kB / 0.7445 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/1.096, allocations: 19.77 kB / 0.7445 GB, free: 164 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004469/1.096, allocations: 474.5 kB / 0.7449 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.096, allocations: 2.031 kB / 0.7449 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003711/1.1, allocations: 1.638 MB / 0.7465 GB, free: 163.3 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.006857/1.107, allocations: 3.179 MB / 0.7496 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001422/1.108, allocations: 0.5416 MB / 0.7502 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.108, allocations: 0 / 0.7502 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000315/1.109, allocations: 299.9 kB / 0.7505 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00077/1.109, allocations: 132.7 kB / 0.7506 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6794/1.789, allocations: 353.3 MB / 1.096 GB, free: 140 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/1.789, allocations: 392.7 kB / 1.096 GB, free: 139.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005632/1.79, allocations: 0.5137 MB / 1.097 GB, free: 139.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/1.79, allocations: 319.3 kB / 1.097 GB, free: 138.8 MB / 0.6387 GB Notification: Performance of SimCode: time 7.91e-07/1.79, allocations: 0 / 1.097 GB, free: 138.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09072/1.881, allocations: 67.32 MB / 1.163 GB, free: 71.62 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.53/19.41, allocations: 4.062 kB / 1.163 GB, free: 71.61 MB / 0.6387 GB " [Timeout remaining time 640] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.324920297018252] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eps', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is'] 19.628371834056452 19.646638688 19.194804062 Calling exit ...