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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001774/0.001774, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.002117/0.002117, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.561/1.561, allocations: 230.4 MB / 254.7 MB, free: 14.87 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2197/0.2197, allocations: 46.92 MB / 357.7 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002257/0.002257, allocations: 79.88 kB / 0.4917 GB, free: 7.781 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1239, allocations: 66.05 MB / 0.5562 GB, free: 5.602 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01755/0.1415, allocations: 13.97 MB / 0.5699 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2979/0.4394, allocations: 26.68 MB / 0.5959 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000235/0.4396, allocations: 1.125 kB / 0.5959 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.44, allocations: 93.84 kB / 0.596 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02225/0.4623, allocations: 8.552 MB / 0.6044 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.4633, allocations: 343.2 kB / 0.6047 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004534/0.4679, allocations: 2.003 MB / 0.6066 GB, free: 3.059 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.629e-05/0.4679, allocations: 16.34 kB / 0.6067 GB, free: 3.059 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004676/0.4684, allocations: 266.3 kB / 0.6069 GB, free: 3.023 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006419/0.4748, allocations: 3.27 MB / 0.6101 GB, free: 2.062 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.279e-05/0.4749, allocations: 13.88 kB / 0.6101 GB, free: 2.059 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.023/0.4979, allocations: 11.65 MB / 0.6215 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.498, allocations: 48.03 kB / 0.6215 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002899/0.4983, allocations: 140.2 kB / 0.6217 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0165/0.5148, allocations: 6.77 MB / 0.6283 GB, free: 11.62 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.5148, allocations: 0 / 0.6283 GB, free: 11.62 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5148, allocations: 7.938 kB / 0.6283 GB, free: 11.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.5148, allocations: 0.6562 kB / 0.6283 GB, free: 11.61 MB / 462.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.005/0.5198, allocations: 1.661 MB / 0.6299 GB, free: 10.45 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.5198, allocations: 14.91 kB / 0.6299 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.337e-05/0.5199, allocations: 76.31 kB / 0.63 GB, free: 10.37 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.5214, allocations: 185.5 kB / 0.6302 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.5218, allocations: 273.6 kB / 0.6304 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.5219, allocations: 28.38 kB / 0.6305 GB, free: 9.992 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.5219, allocations: 35.59 kB / 0.6305 GB, free: 9.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.524, allocations: 0.7507 MB / 0.6312 GB, free: 9.484 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.524, allocations: 0 / 0.6312 GB, free: 9.484 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.25e-05/0.5241, allocations: 17.47 kB / 0.6312 GB, free: 9.473 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.5241, allocations: 15.72 kB / 0.6313 GB, free: 9.465 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.5262, allocations: 0.8185 MB / 0.6321 GB, free: 9.082 MB / 462.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.003387/0.5295, allocations: 2.696 MB / 0.6347 GB, free: 6.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.5308, allocations: 345.3 kB / 0.635 GB, free: 6.406 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.5309, allocations: 67.27 kB / 0.6351 GB, free: 6.371 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4079/0.9387, allocations: 147.9 MB / 0.7795 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001359/0.9401, allocations: 442.1 kB / 0.7799 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/0.9401, allocations: 0 / 0.7799 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.003994/0.9441, allocations: 1.138 MB / 0.781 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001949/0.9443, allocations: 375.8 kB / 0.7814 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.9445, allocations: 190.4 kB / 0.7816 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.9446, allocations: 37.7 kB / 0.7816 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.9447, allocations: 190.1 kB / 0.7818 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.9448, allocations: 124.3 kB / 0.7819 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.945, allocations: 126.2 kB / 0.782 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.9451, allocations: 326.8 kB / 0.7823 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.9453, allocations: 81.06 kB / 0.7824 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/0.9457, allocations: 346.8 kB / 0.7827 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006493/0.9464, allocations: 486 kB / 0.7832 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.9464, allocations: 4 kB / 0.7832 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009505/0.9473, allocations: 473.2 kB / 0.7837 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.9473, allocations: 14.66 kB / 0.7837 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.9474, allocations: 8 kB / 0.7837 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.9474, allocations: 12.88 kB / 0.7837 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.9491, allocations: 211.7 kB / 0.7839 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006984/0.9498, allocations: 1.188 MB / 0.785 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.9501, allocations: 19.89 kB / 0.7851 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/0.9502, allocations: 47.97 kB / 0.7851 GB, free: 0.7422 MB / 0.6075 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.0002127/0.9504, allocations: 160.3 kB / 0.7853 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.9505, allocations: 32.09 kB / 0.7853 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003132/0.9536, allocations: 2.814 MB / 0.788 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/0.9537, allocations: 19.97 kB / 0.7881 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.9537, allocations: 7.938 kB / 0.7881 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.9537, allocations: 11.92 kB / 0.7881 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.9548, allocations: 0.9744 MB / 0.789 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.9548, allocations: 0 / 0.789 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006494/0.9554, allocations: 99.75 kB / 0.7891 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002089/0.9556, allocations: 158.9 kB / 0.7893 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.9557, allocations: 16 kB / 0.7893 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004808/0.9561, allocations: 0.642 MB / 0.7899 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.9562, allocations: 7.984 kB / 0.7899 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.9575, allocations: 0.9606 MB / 0.7909 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.9576, allocations: 136.5 kB / 0.791 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.9578, allocations: 95.12 kB / 0.7911 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.9581, allocations: 16 kB / 0.7911 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.9582, allocations: 31.91 kB / 0.7911 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.9582, allocations: 15.98 kB / 0.7911 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006168/0.9588, allocations: 471 kB / 0.7916 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9588, allocations: 7.938 kB / 0.7916 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.005261/0.9641, allocations: 1.637 MB / 0.7932 GB, free: 8.285 MB / 0.6231 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.01105/0.9751, allocations: 3.149 MB / 0.7963 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001772/0.9769, allocations: 0.5381 MB / 0.7968 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.9769, allocations: 3.938 kB / 0.7968 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.9774, allocations: 283.7 kB / 0.7971 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008602/0.9782, allocations: 139.9 kB / 0.7972 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9809/1.959, allocations: 353.3 MB / 1.142 GB, free: 194.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/1.959, allocations: 0.9781 MB / 1.143 GB, free: 193.6 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005558/1.96, allocations: 0.5103 MB / 1.144 GB, free: 193.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/1.96, allocations: 319.3 kB / 1.144 GB, free: 192.8 MB / 0.6544 GB Notification: Performance of SimCode: time 7.02e-07/1.96, allocations: 0 / 1.144 GB, free: 192.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0895/2.05, allocations: 66.49 MB / 1.209 GB, free: 126.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.06/19.11, allocations: 8.391 kB / 1.209 GB, free: 126.6 MB / 0.6544 GB " [Timeout remaining time 641] (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 1.9992e-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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.291630363091826] 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.258367361035198 19.268440353 18.751505807 Calling exit ...