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.001317/0.001317, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001426/0.001426, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.424/1.424, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.2226/0.2226, allocations: 46.95 MB / 360.8 MB, free: 3.953 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 79.88 kB / 0.4962 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3164, allocations: 66.09 MB / 0.5607 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01649/0.3329, allocations: 12.71 MB / 0.5732 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03022/0.3631, allocations: 23.37 MB / 0.596 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.3633, allocations: 3.938 kB / 0.596 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.3636, allocations: 83.44 kB / 0.5961 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02178/0.3854, allocations: 8.505 MB / 0.6044 GB, free: 7.219 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009872/0.3864, allocations: 357.3 kB / 0.6047 GB, free: 6.875 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004039/0.3904, allocations: 2.002 MB / 0.6067 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.903e-05/0.3905, allocations: 12.59 kB / 0.6067 GB, free: 4.832 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004866/0.391, allocations: 266.9 kB / 0.6069 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006519/0.3975, allocations: 3.27 MB / 0.6101 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.088e-05/0.3975, allocations: 12 kB / 0.6101 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.024/0.4215, allocations: 11.07 MB / 0.6209 GB, free: 6.152 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.4217, allocations: 51.75 kB / 0.621 GB, free: 6.102 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002714/0.422, allocations: 119.5 kB / 0.6211 GB, free: 5.984 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01713/0.4391, allocations: 6.762 MB / 0.6277 GB, free: 15.21 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4391, allocations: 4 kB / 0.6277 GB, free: 15.2 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4391, allocations: 0 / 0.6277 GB, free: 15.2 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.4391, allocations: 0 / 0.6277 GB, free: 15.2 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.004701/0.4438, allocations: 1.583 MB / 0.6293 GB, free: 13.58 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.4438, allocations: 12.03 kB / 0.6293 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.315e-05/0.4439, allocations: 70.72 kB / 0.6293 GB, free: 13.49 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.4454, allocations: 188.5 kB / 0.6295 GB, free: 13.31 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.4458, allocations: 218.1 kB / 0.6297 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.4458, allocations: 21.03 kB / 0.6297 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.4459, allocations: 39.88 kB / 0.6298 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.4482, allocations: 0.8067 MB / 0.6306 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.4482, allocations: 0 / 0.6306 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-05/0.4482, allocations: 16 kB / 0.6306 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.4482, allocations: 12 kB / 0.6306 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/0.4505, allocations: 0.8102 MB / 0.6314 GB, free: 11.3 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.003399/0.4539, allocations: 2.135 MB / 0.6335 GB, free: 9.078 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.4551, allocations: 342.3 kB / 0.6338 GB, free: 8.734 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.4552, allocations: 68.83 kB / 0.6339 GB, free: 8.664 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3901/0.8454, allocations: 99.97 MB / 0.7315 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002185/0.8475, allocations: 454.3 kB / 0.7319 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 4.048e-06/0.8475, allocations: 3.938 kB / 0.7319 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.006397/0.8539, allocations: 1.142 MB / 0.733 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002795/0.8542, allocations: 371.8 kB / 0.7334 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.8545, allocations: 190.2 kB / 0.7336 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.935e-05/0.8546, allocations: 37.7 kB / 0.7336 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.8548, allocations: 188.1 kB / 0.7338 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.8549, allocations: 119 kB / 0.7339 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.8552, allocations: 126.8 kB / 0.734 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.8554, allocations: 330.8 kB / 0.7343 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.8557, allocations: 84.94 kB / 0.7344 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006274/0.8563, allocations: 348.9 kB / 0.7348 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.8573, allocations: 483.4 kB / 0.7352 GB, free: 308 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.8573, allocations: 4 kB / 0.7352 GB, free: 304 kB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.275/1.132, allocations: 468 kB / 0.7357 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/1.132, allocations: 11.48 kB / 0.7357 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/1.132, allocations: 9.219 kB / 0.7357 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.489e-05/1.132, allocations: 12.91 kB / 0.7357 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/1.134, allocations: 211.8 kB / 0.7359 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004536/1.135, allocations: 1.188 MB / 0.7371 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/1.135, allocations: 22.36 kB / 0.7371 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.149e-05/1.135, allocations: 42.72 kB / 0.7371 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.0002002/1.135, allocations: 167 kB / 0.7373 GB, free: 167 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/1.135, allocations: 25.05 kB / 0.7373 GB, free: 167 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003038/1.138, allocations: 3.06 MB / 0.7403 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/1.138, allocations: 20.22 kB / 0.7403 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/1.138, allocations: 7.766 kB / 0.7403 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/1.138, allocations: 7.156 kB / 0.7403 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008992/1.139, allocations: 0.9446 MB / 0.7412 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.139, allocations: 3.906 kB / 0.7412 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/1.14, allocations: 97.2 kB / 0.7413 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001647/1.14, allocations: 166.3 kB / 0.7415 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/1.14, allocations: 17.59 kB / 0.7415 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002548/1.14, allocations: 0.6532 MB / 0.7422 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.14, allocations: 3.938 kB / 0.7422 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009266/1.141, allocations: 0.9906 MB / 0.7431 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/1.141, allocations: 64.89 kB / 0.7432 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/1.141, allocations: 92.47 kB / 0.7433 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/1.142, allocations: 15.05 kB / 0.7433 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/1.142, allocations: 31 kB / 0.7433 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/1.142, allocations: 19.78 kB / 0.7433 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004551/1.142, allocations: 471.7 kB / 0.7438 GB, free: 164 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.142, allocations: 0 / 0.7438 GB, free: 164 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003743/1.146, allocations: 1.638 MB / 0.7454 GB, free: 163.7 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.006791/1.153, allocations: 3.182 MB / 0.7485 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001594/1.154, allocations: 0.5413 MB / 0.749 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.154, allocations: 0 / 0.749 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003524/1.155, allocations: 306.3 kB / 0.7493 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008456/1.155, allocations: 133.3 kB / 0.7494 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7147/1.87, allocations: 353.3 MB / 1.094 GB, free: 140.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/1.87, allocations: 395.9 kB / 1.095 GB, free: 140.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000625/1.871, allocations: 0.5072 MB / 1.095 GB, free: 139.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/1.871, allocations: 318 kB / 1.096 GB, free: 139.4 MB / 0.6387 GB Notification: Performance of SimCode: time 8.71e-07/1.871, allocations: 0 / 1.096 GB, free: 139.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09557/1.967, allocations: 67.37 MB / 1.161 GB, free: 72.21 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.61/18.58, allocations: 8 kB / 1.161 GB, free: 72.2 MB / 0.6387 GB " [Timeout remaining time 641] (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: 21.441435683052987] 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'] 18.75072697829455 18.760710348 18.319135369 Calling exit ...