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.001701/0.001701, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002167/0.002167, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.489/1.489, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.2237/0.2237, allocations: 46.96 MB / 360.8 MB, free: 3.914 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.004201/0.004201, allocations: 87.86 kB / 0.4962 GB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3465, allocations: 66.08 MB / 0.5607 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01767/0.3641, allocations: 12.72 MB / 0.5732 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03148/0.3956, allocations: 23.36 MB / 0.596 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002508/0.3958, allocations: 0 / 0.596 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004405/0.3963, allocations: 91.42 kB / 0.5961 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02528/0.4216, allocations: 8.503 MB / 0.6044 GB, free: 7.172 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.4226, allocations: 350.6 kB / 0.6047 GB, free: 6.832 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004268/0.4269, allocations: 2.002 MB / 0.6067 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.259e-05/0.427, allocations: 20.56 kB / 0.6067 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005664/0.4275, allocations: 262.8 kB / 0.6069 GB, free: 4.523 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006257/0.4338, allocations: 3.262 MB / 0.6101 GB, free: 1.207 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.328e-05/0.4338, allocations: 8 kB / 0.6101 GB, free: 1.199 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02233/0.4562, allocations: 11.08 MB / 0.6209 GB, free: 6.102 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.4563, allocations: 47.77 kB / 0.621 GB, free: 6.055 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.4566, allocations: 123.5 kB / 0.6211 GB, free: 5.934 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02025/0.4769, allocations: 6.758 MB / 0.6277 GB, free: 15.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.4769, allocations: 4 kB / 0.6277 GB, free: 15.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.4769, allocations: 0 / 0.6277 GB, free: 15.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.4769, allocations: 0 / 0.6277 GB, free: 15.16 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.005202/0.4821, allocations: 1.591 MB / 0.6293 GB, free: 13.53 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4821, allocations: 8.031 kB / 0.6293 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.374e-05/0.4822, allocations: 70.72 kB / 0.6293 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.4837, allocations: 188.5 kB / 0.6295 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004958/0.4842, allocations: 210.1 kB / 0.6297 GB, free: 13.03 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.4842, allocations: 29.03 kB / 0.6297 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.4843, allocations: 35.94 kB / 0.6298 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.4865, allocations: 0.8067 MB / 0.6306 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.4865, allocations: 0 / 0.6306 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.191e-05/0.4865, allocations: 16 kB / 0.6306 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.4865, allocations: 8 kB / 0.6306 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.4887, allocations: 0.8102 MB / 0.6314 GB, free: 11.26 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.003364/0.4921, allocations: 2.147 MB / 0.6335 GB, free: 9.023 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.4933, allocations: 342.3 kB / 0.6338 GB, free: 8.68 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.4934, allocations: 68.83 kB / 0.6339 GB, free: 8.609 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3801/0.8735, allocations: 99.95 MB / 0.7315 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001354/0.8749, allocations: 458.3 kB / 0.7319 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/0.8749, allocations: 0 / 0.7319 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003885/0.8787, allocations: 1.138 MB / 0.733 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002299/0.879, allocations: 371.8 kB / 0.7334 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.8792, allocations: 198.4 kB / 0.7336 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.8792, allocations: 41.7 kB / 0.7336 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.8794, allocations: 188.1 kB / 0.7338 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.8795, allocations: 123 kB / 0.7339 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.8797, allocations: 126 kB / 0.734 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.8798, allocations: 330.8 kB / 0.7343 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.88, allocations: 84.88 kB / 0.7344 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.8804, allocations: 345 kB / 0.7348 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006759/0.8811, allocations: 479.5 kB / 0.7352 GB, free: 256 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.8811, allocations: 4 kB / 0.7352 GB, free: 252 kB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.2389/1.12, allocations: 464.5 kB / 0.7357 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/1.12, allocations: 9.703 kB / 0.7357 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/1.12, allocations: 9.25 kB / 0.7357 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.19e-05/1.12, allocations: 12.31 kB / 0.7357 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/1.122, allocations: 216.7 kB / 0.7359 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004337/1.122, allocations: 1.189 MB / 0.7371 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/1.123, allocations: 18.88 kB / 0.7371 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.001e-05/1.123, allocations: 46.92 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.0002079/1.123, allocations: 165.7 kB / 0.7373 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/1.123, allocations: 27.2 kB / 0.7373 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/1.126, allocations: 3.065 MB / 0.7403 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/1.126, allocations: 20.11 kB / 0.7403 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.126, allocations: 4.797 kB / 0.7403 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/1.126, allocations: 5.172 kB / 0.7403 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009379/1.127, allocations: 0.9463 MB / 0.7413 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.127, allocations: 0 / 0.7413 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005331/1.128, allocations: 103.6 kB / 0.7413 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001706/1.128, allocations: 164.2 kB / 0.7415 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/1.128, allocations: 15.94 kB / 0.7415 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000249/1.128, allocations: 0.6497 MB / 0.7422 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.128, allocations: 3.969 kB / 0.7422 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000907/1.129, allocations: 0.9899 MB / 0.7431 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/1.129, allocations: 61.39 kB / 0.7432 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/1.129, allocations: 92.3 kB / 0.7433 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/1.129, allocations: 15.64 kB / 0.7433 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/1.129, allocations: 37.89 kB / 0.7433 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/1.129, allocations: 15.34 kB / 0.7433 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004144/1.13, allocations: 474.8 kB / 0.7438 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.13, allocations: 0 / 0.7438 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003615/1.134, allocations: 1.639 MB / 0.7454 GB, free: 163.6 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.007256/1.141, allocations: 3.186 MB / 0.7485 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001432/1.142, allocations: 0.5382 MB / 0.749 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.142, allocations: 4 kB / 0.749 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003265/1.143, allocations: 303.4 kB / 0.7493 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008304/1.143, allocations: 129.8 kB / 0.7494 GB, free: 160 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6754/1.819, allocations: 353.3 MB / 1.094 GB, free: 140.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/1.819, allocations: 392 kB / 1.095 GB, free: 140.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006165/1.82, allocations: 0.5047 MB / 1.095 GB, free: 139.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/1.82, allocations: 315.3 kB / 1.096 GB, free: 139.3 MB / 0.6387 GB Notification: Performance of SimCode: time 9.02e-07/1.82, allocations: 0 / 1.096 GB, free: 139.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09564/1.916, allocations: 67.36 MB / 1.161 GB, free: 72.12 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.49/19.4, allocations: 4.062 kB / 1.161 GB, free: 72.12 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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 1.9992e-05 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.53199499892071] 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.579088773112744 19.59610339 19.114983094 Calling exit ...